gst/playback/: Comment out broken code that connects to the state-changed signal.
authorJan Schmidt <thaytan@mad.scientist.com>
Mon, 16 Jan 2006 16:38:15 +0000 (16:38 +0000)
committerJan Schmidt <thaytan@mad.scientist.com>
Mon, 16 Jan 2006 16:38:15 +0000 (16:38 +0000)
Original commit message from CVS:
* gst/playback/gststreaminfo.c: (gst_stream_info_set_mute):
* gst/playback/gststreamselector.c:
(gst_stream_selector_set_property):
Comment out broken code that connects to the state-changed signal.
At this point, changing current stream selection is broken, but
stuff like gst-launch playbin current-audio=1 works and filters
to the chosen stream.

ChangeLog
gst/playback/gststreaminfo.c

index fd0c66c..c59a1ba 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
+
+       * gst/playback/gststreaminfo.c: (gst_stream_info_set_mute):
+       * gst/playback/gststreamselector.c:
+       (gst_stream_selector_set_property):
+         Comment out broken code that connects to the state-changed signal.
+         At this point, changing current stream selection is broken, but 
+         stuff like gst-launch playbin current-audio=1 works and filters
+         to the chosen stream.
+
 2006-01-16  Thomas Vander Stichele  <thomas at apestaart dot org>
 
        * ext/vorbis/vorbisdec.c: (vorbis_dec_src_query):
index 5f66a98..5e834fa 100644 (file)
@@ -301,6 +301,7 @@ gst_stream_info_set_mute (GstStreamInfo * stream_info, gboolean mute)
     element = gst_pad_get_parent_element ((GstPad *)
         GST_PAD_CAST (stream_info->object));
     if (element) {
+#if 0
       if (mute) {
         g_signal_connect (element, "state-changed",
             G_CALLBACK (stream_info_change_state), stream_info);
@@ -308,6 +309,7 @@ gst_stream_info_set_mute (GstStreamInfo * stream_info, gboolean mute)
         g_signal_handlers_disconnect_by_func (element,
             G_CALLBACK (stream_info_change_state), stream_info);
       }
+#endif
       gst_object_unref (element);
     }
   }