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.
This commit is contained in:
Jan Schmidt 2006-01-16 16:38:15 +00:00
parent 325e713953
commit 8501a77ce6
2 changed files with 12 additions and 0 deletions

View file

@ -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):

View 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);
}
}