mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-03 05:59:10 +00:00
gst/autodetect/gstautoaudiosink.c: Tim and I can't think of any reason the child audio sink needs to be set back to N...
Original commit message from CVS: * gst/autodetect/gstautoaudiosink.c: (gst_auto_audio_sink_find_best): Tim and I can't think of any reason the child audio sink needs to be set back to NULL after successfully determining that it can reach READY - it gets immediately set back to READY by the caller anyway, causing an unnecessary close/open of any audio devices involved.
This commit is contained in:
parent
0ee5d239d3
commit
647934baf9
2 changed files with 9 additions and 1 deletions
|
@ -1,3 +1,12 @@
|
|||
2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
|
||||
|
||||
* gst/autodetect/gstautoaudiosink.c: (gst_auto_audio_sink_find_best):
|
||||
Tim and I can't think of any reason the child audio sink needs to
|
||||
be set back to NULL after successfully determining that it can
|
||||
reach READY - it gets immediately set back to READY by the caller
|
||||
anyway, causing an unnecessary close/open of any audio devices
|
||||
involved.
|
||||
|
||||
2007-03-09 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
* po/LINGUAS:
|
||||
|
|
|
@ -229,7 +229,6 @@ gst_auto_audio_sink_find_best (GstAutoAudioSink * sink)
|
|||
gst_element_set_bus (el, bus);
|
||||
ret = gst_element_set_state (el, GST_STATE_READY);
|
||||
if (ret == GST_STATE_CHANGE_SUCCESS) {
|
||||
gst_element_set_state (el, GST_STATE_NULL);
|
||||
GST_DEBUG_OBJECT (sink, "This worked!");
|
||||
choice = el;
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue