gst/playback/gstdecodebin.c: Unlinking two source pads is ... hard.

Original commit message from CVS:
* gst/playback/gstdecodebin.c: (try_to_link_1):
Unlinking two source pads is ... hard.
This commit is contained in:
Tim-Philipp Müller 2006-02-02 17:51:48 +00:00
parent 416c011f11
commit 12e851ba38
3 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
* gst/playback/gstdecodebin.c: (try_to_link_1):
Unlinking two source pads is ... hard.
2006-02-02 Wim Taymans <wim@fluendo.com>
* gst-libs/gst/audio/TODO:

2
common

@ -1 +1 @@
Subproject commit 1140eabed84dd1d8d6df7df88f5c8bdf20a8faa1
Subproject commit 79d67fe009b6120b82d51df860c78e8361f02aea

View file

@ -838,7 +838,7 @@ try_to_link_1 (GstDecodeBin * decode_bin, GstElement * srcelement, GstPad * pad,
done:
if (queue != NULL) {
/* We didn't successfully connect to the queue */
gst_pad_unlink (pad, queuesrcpad);
gst_pad_unlink (pad, queuesinkpad);
gst_element_set_state (queue, GST_STATE_NULL);
gst_object_unref (queuesrcpad);
gst_object_unref (queuesinkpad);