mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 11:55:39 +00:00
vaapidecode: reorder src caps template
Since negotiation depends on caps order, first is VA, then DMABuf, later GLUploadTexture (deprecated) and finally raw. Also, for decoders, the possible available color formats for DMABuf is extended to all the possible VA color formats. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/366>
This commit is contained in:
parent
afe49e9fdb
commit
f04dd7f331
1 changed files with 4 additions and 4 deletions
|
@ -78,12 +78,12 @@ static const char gst_vaapidecode_sink_caps_str[] =
|
|||
;
|
||||
|
||||
static const char gst_vaapidecode_src_caps_str[] =
|
||||
GST_VAAPI_MAKE_SURFACE_CAPS ";"
|
||||
GST_VAAPI_MAKE_SURFACE_CAPS "; "
|
||||
GST_VIDEO_CAPS_MAKE_WITH_FEATURES(GST_CAPS_FEATURE_MEMORY_DMABUF, GST_VAAPI_FORMATS_ALL) " ;"
|
||||
#if (USE_GLX || USE_EGL)
|
||||
GST_VAAPI_MAKE_GLTEXUPLOAD_CAPS ";"
|
||||
GST_VAAPI_MAKE_GLTEXUPLOAD_CAPS "; "
|
||||
#endif
|
||||
GST_VIDEO_CAPS_MAKE(GST_VAAPI_FORMATS_ALL) ";"
|
||||
GST_VAAPI_MAKE_DMABUF_CAPS;
|
||||
GST_VIDEO_CAPS_MAKE(GST_VAAPI_FORMATS_ALL);
|
||||
|
||||
static GstStaticPadTemplate gst_vaapidecode_src_factory =
|
||||
GST_STATIC_PAD_TEMPLATE(
|
||||
|
|
Loading…
Reference in a new issue