From 8501a77ce6f65a739ff3e98cb6532cc1fe59f9a0 Mon Sep 17 00:00:00 2001 From: Jan Schmidt Date: Mon, 16 Jan 2006 16:38:15 +0000 Subject: [PATCH] gst/playback/: Comment out broken code that connects to the state-changed signal. 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 | 10 ++++++++++ gst/playback/gststreaminfo.c | 2 ++ 2 files changed, 12 insertions(+) diff --git a/ChangeLog b/ChangeLog index fd0c66c477..c59a1bac1e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2006-01-16 Jan Schmidt + + * 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 * ext/vorbis/vorbisdec.c: (vorbis_dec_src_query): diff --git a/gst/playback/gststreaminfo.c b/gst/playback/gststreaminfo.c index 5f66a9819d..5e834faa8d 100644 --- a/gst/playback/gststreaminfo.c +++ b/gst/playback/gststreaminfo.c @@ -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); } }