mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 20:51:13 +00:00
glimagesink: Fix VUYA in memory:DMABuf
Sample pipeline: gst-launch-1.0 videotestsrc ! msdkvpp ! \ video/x-raw\(memory:DMABuf\),format=VUYA ! glimagesink
This commit is contained in:
parent
e5d06b24b7
commit
14ce1ccdd2
1 changed files with 2 additions and 0 deletions
|
@ -496,6 +496,7 @@ _drm_rgba_fourcc_from_info (GstVideoInfo * info, int plane,
|
|||
case GST_VIDEO_FORMAT_ABGR:
|
||||
case GST_VIDEO_FORMAT_xBGR:
|
||||
case GST_VIDEO_FORMAT_AYUV:
|
||||
case GST_VIDEO_FORMAT_VUYA:
|
||||
*out_format = GST_GL_RGBA;
|
||||
return rgba_fourcc;
|
||||
|
||||
|
@ -637,6 +638,7 @@ _drm_direct_fourcc_from_info (GstVideoInfo * info)
|
|||
return DRM_FORMAT_VYUY;
|
||||
|
||||
case GST_VIDEO_FORMAT_AYUV:
|
||||
case GST_VIDEO_FORMAT_VUYA:
|
||||
return DRM_FORMAT_AYUV;
|
||||
|
||||
case GST_VIDEO_FORMAT_NV12:
|
||||
|
|
Loading…
Reference in a new issue