v4l2codecs: decoder: Fix drm format query
A late change that slipped through as it mainly affects NC12 at the moment. Fixes: 4b07d54931 ("v4l2codecs: decoder: Translate V4L2 formats into DRM fourcc/mod pairs") Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8188>
This commit is contained in:
parent
19cea52dbd
commit
6c29395ea4
@ -282,7 +282,7 @@ gst_v4l2_format_to_drm_format (guint32 pix_fmt, guint32 * out_drm_fourcc,
|
||||
return FALSE;
|
||||
|
||||
if (out_drm_fourcc)
|
||||
*out_drm_fourcc = fmt_desc->gst_fmt;
|
||||
*out_drm_fourcc = fmt_desc->drm_fourcc;
|
||||
if (out_drm_mod)
|
||||
*out_drm_mod = fmt_desc->drm_modifier;
|
||||
return TRUE;
|
||||
|
Loading…
x
Reference in New Issue
Block a user