projects
/
platform
/
upstream
/
gst-plugins-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5d06b2
)
glimagesink: Fix VUYA in memory:DMABuf
author
Haihao Xiang
<haihao.xiang@intel.com>
Mon, 16 Sep 2019 03:03:59 +0000
(11:03 +0800)
committer
Haihao Xiang
<haihao.xiang@intel.com>
Mon, 16 Sep 2019 07:46:47 +0000
(15:46 +0800)
Sample pipeline:
gst-launch-1.0 videotestsrc ! msdkvpp ! \
video/x-raw\(memory:DMABuf\),format=VUYA ! glimagesink
gst-libs/gst/gl/egl/gsteglimage.c
patch
|
blob
|
history
diff --git
a/gst-libs/gst/gl/egl/gsteglimage.c
b/gst-libs/gst/gl/egl/gsteglimage.c
index
1e5dc53
..
cdd68cc
100644
(file)
--- a/
gst-libs/gst/gl/egl/gsteglimage.c
+++ b/
gst-libs/gst/gl/egl/gsteglimage.c
@@
-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: