inter: fix warnings when gst-inspecting interaudio{src,sink}
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Tue, 13 Mar 2012 20:50:04 +0000 (20:50 +0000)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Tue, 13 Mar 2012 20:59:00 +0000 (20:59 +0000)
The channel property isn't implemented, so don't register it.

gst/inter/gstinteraudiosink.c
gst/inter/gstinteraudiosrc.c

index 342ebf5..db81811 100644 (file)
@@ -151,10 +151,12 @@ gst_inter_audio_sink_class_init (GstInterAudioSinkClass * klass)
   base_sink_class->unlock_stop =
       GST_DEBUG_FUNCPTR (gst_inter_audio_sink_unlock_stop);
 
+#if 0
   g_object_class_install_property (gobject_class, PROP_CHANNEL,
       g_param_spec_string ("channel", "Channel",
           "Channel name to match inter src and sink elements",
           "default", G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
+#endif
 }
 
 static void
index af9c295..48641a5 100644 (file)
@@ -159,11 +159,12 @@ gst_inter_audio_src_class_init (GstInterAudioSrcClass * klass)
     base_src_class->prepare_seek_segment =
         GST_DEBUG_FUNCPTR (gst_inter_audio_src_prepare_seek_segment);
 
+#if 0
   g_object_class_install_property (gobject_class, PROP_CHANNEL,
       g_param_spec_string ("channel", "Channel",
           "Channel name to match inter src and sink elements",
           "default", G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
-
+#endif
 }
 
 static void