WARNING: This server is unstable and will be retired in the next days. If you want to keep this forum available, please request immediately a migration on the Nabble Support forum. Forums that don't receive any migration request will be deleted forever.

FYI: GStreamer -Werror build fix

View: New views
1 Messages — Rating Filter:   Alert me  

FYI: GStreamer -Werror build fix

by ahughes-2 :: Rate this Message:

| View Threaded | Show Only this Message

I've applied the attached simple fix to the GStreamer sources to
remove an unused variable so that it will build with -Werror.

2012-02-15  Andrew John Hughes  <ahughes@...>

        * native/jni/gstreamer-peer/gst_classpath_src.c,
        (gst_classpath_src_class_init(GstClasspathSrcClass)):
        Remove unused gstelement_class.

--
Andrew :)

Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)

PGP Key: 248BDC07 (https://keys.indymedia.org/)
Fingerprint = EC5A 1F5E C0AD 1D15 8F1F  8F91 3B96 A578 248B DC07

Index: native/jni/gstreamer-peer/gst_classpath_src.c
===================================================================
RCS file: /sources/classpath/classpath/native/jni/gstreamer-peer/gst_classpath_src.c,v
retrieving revision 1.1
diff -u -u -r1.1 gst_classpath_src.c
--- native/jni/gstreamer-peer/gst_classpath_src.c 18 Aug 2007 15:23:14 -0000 1.1
+++ native/jni/gstreamer-peer/gst_classpath_src.c 21 Feb 2012 00:14:09 -0000
@@ -163,14 +163,12 @@
 gst_classpath_src_class_init (GstClasspathSrcClass *klass)
 {
   GObjectClass *gobject_class;
-  GstElementClass *gstelement_class;
   GstBaseSrcClass *gstbasesrc_class;
   GstPushSrcClass *gstpushsrc_class;
   
   GParamSpec *pspec;
 
   gobject_class = G_OBJECT_CLASS (klass);
-  gstelement_class = GST_ELEMENT_CLASS (klass);
   gstbasesrc_class = GST_BASE_SRC_CLASS (klass);
   gstpushsrc_class = GST_PUSH_SRC_CLASS (klass);
   


signature.asc (853 bytes) Download Attachment