mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-30 04:00:37 +00:00
msdkcaps: fix ill-format string
This patch fixes this critical warning when registering MSDK: _dma_fmt_to_dma_drm_fmts: assertion 'fmt != GST_VIDEO_FORMAT_UNKNOWN' failed It was because the HEVC string with possible output formats has an extra space that could not be parsed correctly. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6853>
This commit is contained in:
parent
94646c642d
commit
236d6714ec
1 changed files with 1 additions and 1 deletions
|
@ -1777,7 +1777,7 @@ _dec_get_static_dma_formats (guint codec_id)
|
|||
case MFX_CODEC_AVC:
|
||||
return "NV12, BGRA, BGRx";
|
||||
case MFX_CODEC_HEVC:
|
||||
return "NV12, P010_10LE, YUY2, Y210, VUYA, Y410, P012_LE, "
|
||||
return "NV12, P010_10LE, YUY2, Y210, VUYA, Y410, P012_LE, "
|
||||
"Y212_LE, Y412_LE, BGRA, BGRx";
|
||||
case MFX_CODEC_MPEG2:
|
||||
return "NV12";
|
||||
|
|
Loading…
Reference in a new issue