[Pkg-gstreamer-commits] [gstreamer-vaapi] 131/176: vaapisink: expose the raw video formats in static caps template.

Vincent Cheng vcheng at moszumanska.debian.org
Tue Jun 3 08:09:34 UTC 2014


This is an automated email from the git hooks/post-receive script.

vcheng pushed a commit to branch upstream
in repository gstreamer-vaapi.

commit dd6751ed47c8c7c2d69c25cbeb2d064d8fa96d66
Author: Sreerenj Balachandran <sreerenj.balachandran at intel.com>
Date:   Wed Oct 9 13:47:54 2013 +0300

    vaapisink: expose the raw video formats in static caps template.
    
    Expose all raw video formats in the static caps template since the
    vaapisink is supporting raw data. We will get the exact set of formats
    supported by the driver dynamically through the _get_caps() routine.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=703271
    https://bugzilla.gnome.org/show_bug.cgi?id=720737
    
    Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne at intel.com>
---
 gst/vaapi/gstvaapisink.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gst/vaapi/gstvaapisink.c b/gst/vaapi/gstvaapisink.c
index 3b7f8d7..09d6d54 100644
--- a/gst/vaapi/gstvaapisink.c
+++ b/gst/vaapi/gstvaapisink.c
@@ -87,7 +87,8 @@ GST_DEBUG_CATEGORY_STATIC(gst_debug_vaapisink);
 static const char gst_vaapisink_sink_caps_str[] =
 #if GST_CHECK_VERSION(1,1,0)
     GST_VIDEO_CAPS_MAKE_WITH_FEATURES(
-        GST_CAPS_FEATURE_MEMORY_VAAPI_SURFACE, "{ ENCODED, NV12, I420, YV12 }");
+        GST_CAPS_FEATURE_MEMORY_VAAPI_SURFACE, "{ ENCODED, NV12, I420, YV12 }") ";"
+    GST_VIDEO_CAPS_MAKE(GST_VIDEO_FORMATS_ALL);
 #else
 #if GST_CHECK_VERSION(1,0,0)
     GST_VIDEO_CAPS_MAKE(GST_VIDEO_FORMATS_ALL) "; "

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gstreamer/gstreamer-vaapi.git



More information about the Pkg-gstreamer-commits mailing list