gst/playback/gstdecodebin.c: Unsetting IS_SINK flag from the fakesink, so decodebin...
authorEdward Hervey <bilboed@bilboed.com>
Fri, 18 Nov 2005 13:04:19 +0000 (13:04 +0000)
committerEdward Hervey <bilboed@bilboed.com>
Fri, 18 Nov 2005 13:04:19 +0000 (13:04 +0000)
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.

ChangeLog
gst/playback/gstdecodebin.c

index 1ce4fbd099d0806c39f9c82676a7f74787118b54..f0947ad71cf7b91aeff1b7bfd3ff968251b914b2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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:
index 40c50df5ac81b941efcc4747d756f4d85ac1cf54..ca925db5bdbe4b6a7e5bc15d27bdc57800ab91a4 100644 (file)
@@ -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);