mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 16:26:39 +00:00
gst/playback/gstdecodebin.c: Unsetting IS_SINK flag from the fakesink, so decodebin never behaves as a sink.
Original commit message from CVS: * gst/playback/gstdecodebin.c: (gst_decode_bin_init): Unsetting IS_SINK flag from the fakesink, so decodebin never behaves as a sink.
This commit is contained in:
parent
9edbf81fd2
commit
8a955ff2c2
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
2005-11-18 <bilboed@dvdsrc.fluendo.com>
|
||||
|
||||
* gst/playback/gstdecodebin.c: (gst_decode_bin_init):
|
||||
Unsetting IS_SINK flag from the fakesink, so decodebin
|
||||
never behaves as a sink.
|
||||
|
||||
2005-11-17 Wim Taymans <wim@fluendo.com>
|
||||
|
||||
* gst-libs/gst/audio/gstbaseaudiosrc.c:
|
||||
|
|
|
@ -343,6 +343,7 @@ gst_decode_bin_init (GstDecodeBin * decode_bin)
|
|||
if (!decode_bin->fakesink) {
|
||||
g_warning ("can't find fakesink element, decodebin will not work");
|
||||
} else {
|
||||
GST_OBJECT_FLAG_UNSET (decode_bin->fakesink, GST_ELEMENT_IS_SINK);
|
||||
if (!gst_bin_add (GST_BIN (decode_bin), decode_bin->fakesink)) {
|
||||
g_warning ("Could not add fakesink element, decodebin will not work");
|
||||
gst_object_unref (decode_bin->fakesink);
|
||||
|
|
Loading…
Reference in a new issue