mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-30 05:31:15 +00:00
plugin: encode: change the dmabuf caps to all supported formats.
The encode's dmabuf caps definition is obsolete, it can support more formats now. Re-define it to include all supported formats in video format map.
This commit is contained in:
parent
4bb41e6ca3
commit
61de88e580
7 changed files with 7 additions and 7 deletions
|
@ -84,7 +84,7 @@ static const char gst_vaapiencode_h264_sink_caps_str[] =
|
|||
GST_CAPS_INTERLACED_FALSE "; "
|
||||
GST_VIDEO_CAPS_MAKE (GST_VAAPI_FORMATS_ALL) ", "
|
||||
GST_CAPS_INTERLACED_FALSE ";"
|
||||
GST_VAAPI_MAKE_DMABUF_CAPS ","
|
||||
GST_VIDEO_CAPS_MAKE_WITH_FEATURES(GST_CAPS_FEATURE_MEMORY_DMABUF, GST_VAAPI_FORMATS_ALL) ","
|
||||
GST_CAPS_INTERLACED_FALSE;
|
||||
/* *INDENT-ON* */
|
||||
|
||||
|
|
|
@ -64,7 +64,7 @@ static const char gst_vaapiencode_h264_fei_sink_caps_str[] =
|
|||
GST_CAPS_INTERLACED_FALSE "; "
|
||||
GST_VIDEO_CAPS_MAKE (GST_VAAPI_FORMATS_ALL) ", "
|
||||
GST_CAPS_INTERLACED_FALSE ";"
|
||||
GST_VAAPI_MAKE_DMABUF_CAPS ","
|
||||
GST_VIDEO_CAPS_MAKE_WITH_FEATURES(GST_CAPS_FEATURE_MEMORY_DMABUF, GST_VAAPI_FORMATS_ALL) ","
|
||||
GST_CAPS_INTERLACED_FALSE;
|
||||
/* *INDENT-ON* */
|
||||
|
||||
|
|
|
@ -58,7 +58,7 @@ static const char gst_vaapiencode_h265_sink_caps_str[] =
|
|||
GST_CAPS_INTERLACED_FALSE "; "
|
||||
GST_VIDEO_CAPS_MAKE (GST_VAAPI_FORMATS_ALL) ", "
|
||||
GST_CAPS_INTERLACED_FALSE ";"
|
||||
GST_VAAPI_MAKE_DMABUF_CAPS ","
|
||||
GST_VIDEO_CAPS_MAKE_WITH_FEATURES(GST_CAPS_FEATURE_MEMORY_DMABUF, GST_VAAPI_FORMATS_ALL) ","
|
||||
GST_CAPS_INTERLACED_FALSE;
|
||||
/* *INDENT-ON* */
|
||||
|
||||
|
|
|
@ -55,7 +55,7 @@ static const char gst_vaapiencode_jpeg_sink_caps_str[] =
|
|||
GST_CAPS_INTERLACED_FALSE "; "
|
||||
GST_VIDEO_CAPS_MAKE (GST_VAAPI_FORMATS_ALL) ", "
|
||||
GST_CAPS_INTERLACED_FALSE ";"
|
||||
GST_VAAPI_MAKE_DMABUF_CAPS ","
|
||||
GST_VIDEO_CAPS_MAKE_WITH_FEATURES(GST_CAPS_FEATURE_MEMORY_DMABUF, GST_VAAPI_FORMATS_ALL) ","
|
||||
GST_CAPS_INTERLACED_FALSE;
|
||||
/* *INDENT-ON* */
|
||||
|
||||
|
|
|
@ -57,7 +57,7 @@ static const char gst_vaapiencode_mpeg2_sink_caps_str[] =
|
|||
GST_CAPS_INTERLACED_FALSE "; "
|
||||
GST_VIDEO_CAPS_MAKE (GST_VAAPI_FORMATS_ALL) ", "
|
||||
GST_CAPS_INTERLACED_FALSE ";"
|
||||
GST_VAAPI_MAKE_DMABUF_CAPS ","
|
||||
GST_VIDEO_CAPS_MAKE_WITH_FEATURES(GST_CAPS_FEATURE_MEMORY_DMABUF, GST_VAAPI_FORMATS_ALL) ","
|
||||
GST_CAPS_INTERLACED_FALSE;
|
||||
/* *INDENT-ON* */
|
||||
|
||||
|
|
|
@ -55,7 +55,7 @@ static const char gst_vaapiencode_vp8_sink_caps_str[] =
|
|||
GST_CAPS_INTERLACED_FALSE "; "
|
||||
GST_VIDEO_CAPS_MAKE (GST_VAAPI_FORMATS_ALL) ", "
|
||||
GST_CAPS_INTERLACED_FALSE ";"
|
||||
GST_VAAPI_MAKE_DMABUF_CAPS ","
|
||||
GST_VIDEO_CAPS_MAKE_WITH_FEATURES(GST_CAPS_FEATURE_MEMORY_DMABUF, GST_VAAPI_FORMATS_ALL) ","
|
||||
GST_CAPS_INTERLACED_FALSE;
|
||||
/* *INDENT-ON* */
|
||||
|
||||
|
|
|
@ -55,7 +55,7 @@ static const char gst_vaapiencode_vp9_sink_caps_str[] =
|
|||
GST_CAPS_INTERLACED_FALSE "; "
|
||||
GST_VIDEO_CAPS_MAKE (GST_VAAPI_FORMATS_ALL) ", "
|
||||
GST_CAPS_INTERLACED_FALSE ";"
|
||||
GST_VAAPI_MAKE_DMABUF_CAPS ","
|
||||
GST_VIDEO_CAPS_MAKE_WITH_FEATURES(GST_CAPS_FEATURE_MEMORY_DMABUF, GST_VAAPI_FORMATS_ALL) ","
|
||||
GST_CAPS_INTERLACED_FALSE;
|
||||
/* *INDENT-ON* */
|
||||
|
||||
|
|
Loading…
Reference in a new issue