[Pkg-gstreamer-commits] [gstreamer-vaapi] 129/176: vaapidecode: add system memory caps to template caps.

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 cb81acd48ce04ae94757e6ec81a915863d51872e
Author: Matthieu Bouron <matthieu.bouron at collabora.com>
Date:   Tue Dec 17 15:27:10 2013 +0000

    vaapidecode: add system memory caps to template caps.
    
    Since vaapidecode provides buffer that can be mapped as regular memory,
    those caps should be added to the template caps. That only applies to
    GStreamer >= 1.2.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=720608
    
    Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne at intel.com>
---
 gst/vaapi/gstvaapidecode.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gst/vaapi/gstvaapidecode.c b/gst/vaapi/gstvaapidecode.c
index 8d4e475..b3519a9 100644
--- a/gst/vaapi/gstvaapidecode.c
+++ b/gst/vaapi/gstvaapidecode.c
@@ -75,7 +75,8 @@ static const char gst_vaapidecode_src_caps_str[] =
     GST_VIDEO_CAPS_MAKE_WITH_FEATURES(
         GST_CAPS_FEATURE_MEMORY_VAAPI_SURFACE, "{ ENCODED, NV12, I420, YV12 }") ";"
     GST_VIDEO_CAPS_MAKE_WITH_FEATURES(
-        GST_CAPS_FEATURE_META_GST_VIDEO_GL_TEXTURE_UPLOAD_META, "RGBA");
+        GST_CAPS_FEATURE_META_GST_VIDEO_GL_TEXTURE_UPLOAD_META, "RGBA") ";"
+    GST_VIDEO_CAPS_MAKE("{ NV12, I420, YV12 }");
 #else
     GST_VAAPI_SURFACE_CAPS;
 #endif

-- 
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