[gst-cvs] gst-plugins-base: decodebin2: make subpictures a raw output format

Wim Taymans wtay at kemper.freedesktop.org
Tue May 12 01:41:29 PDT 2009


Module: gst-plugins-base
Branch: master
Commit: a0525fadb499572f9d27caf086a3368f10ee3ad1
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/?id=a0525fadb499572f9d27caf086a3368f10ee3ad1

Author: Wim Taymans <wim.taymans at collabora.co.uk>
Date:   Thu Apr 30 16:41:51 2009 +0200

decodebin2: make subpictures a raw output format

Subpictures are a raw format, we want those pads exposed so that playbin2 can do
the subpicture mixing.

---

 gst/playback/gstdecodebin2.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/gst/playback/gstdecodebin2.c b/gst/playback/gstdecodebin2.c
index 2212689..a9f2475 100644
--- a/gst/playback/gstdecodebin2.c
+++ b/gst/playback/gstdecodebin2.c
@@ -655,7 +655,8 @@ gst_decode_bin_init (GstDecodeBin * decode_bin)
 
   decode_bin->caps =
       gst_caps_from_string ("video/x-raw-yuv;video/x-raw-rgb;video/x-raw-gray;"
-      "audio/x-raw-int;audio/x-raw-float;" "text/plain;text/x-pango-markup");
+      "audio/x-raw-int;audio/x-raw-float;" "text/plain;text/x-pango-markup;"
+      "video/x-dvd-subpicture");
 }
 
 static void





More information about the Gstreamer-commits mailing list