mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 19:20:35 +00:00
plugins: expose the expected format for GstVideoGLTextureUploadMeta.
Fix vaapidecode srcpad caps to only expose RGBA video format for the meta:GstVideoGLTextureUploadMeta feature. That's only what is supported so far. Besides, drop this meta from the vaapisink sinkpad caps since we really don't support that for rendering. https://bugzilla.gnome.org/show_bug.cgi?id=711828
This commit is contained in:
parent
29270e3af6
commit
b4eb1dcd42
2 changed files with 2 additions and 6 deletions
|
@ -74,8 +74,7 @@ static const char gst_vaapidecode_src_caps_str[] =
|
|||
GST_VIDEO_CAPS_MAKE_WITH_FEATURES(
|
||||
GST_CAPS_FEATURE_MEMORY_VAAPI_SURFACE, GST_VIDEO_FORMATS_ALL) ";"
|
||||
GST_VIDEO_CAPS_MAKE_WITH_FEATURES(
|
||||
GST_CAPS_FEATURE_META_GST_VIDEO_GL_TEXTURE_UPLOAD_META,
|
||||
GST_VIDEO_FORMATS_ALL);
|
||||
GST_CAPS_FEATURE_META_GST_VIDEO_GL_TEXTURE_UPLOAD_META, "RGBA");
|
||||
#else
|
||||
GST_VAAPI_SURFACE_CAPS;
|
||||
#endif
|
||||
|
|
|
@ -86,10 +86,7 @@ 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, GST_VIDEO_FORMATS_ALL) ";"
|
||||
GST_VIDEO_CAPS_MAKE_WITH_FEATURES(
|
||||
GST_CAPS_FEATURE_META_GST_VIDEO_GL_TEXTURE_UPLOAD_META,
|
||||
GST_VIDEO_FORMATS_ALL);
|
||||
GST_CAPS_FEATURE_MEMORY_VAAPI_SURFACE, GST_VIDEO_FORMATS_ALL);
|
||||
#else
|
||||
#if GST_CHECK_VERSION(1,0,0)
|
||||
GST_VIDEO_CAPS_MAKE(GST_VIDEO_FORMATS_ALL) "; "
|
||||
|
|
Loading…
Reference in a new issue