projects
/
platform
/
upstream
/
gst-plugins-bad.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56cada6
)
msdkvpp: allow UYVY in DMABuf mode in the sink pad
author
Haihao Xiang
<haihao.xiang@intel.com>
Thu, 14 Feb 2019 06:48:12 +0000
(14:48 +0800)
committer
Víctor Manuel Jáquez Leal
<vjaquez@igalia.com>
Tue, 19 Feb 2019 11:04:47 +0000
(11:04 +0000)
Tested with the pipeline below:
gst-launch-1.0 videotestsrc num-buffers=1 ! msdkvpp ! \
video/x-raw\(memory:DMABuf\),format=UYVY ! msdkvpp ! video/x-raw, \
format=YUY2 ! filesink location=a.yuv
sys/msdk/gstmsdkvpp.c
patch
|
blob
|
history
diff --git
a/sys/msdk/gstmsdkvpp.c
b/sys/msdk/gstmsdkvpp.c
index
69ee5b4
..
482fcba
100644
(file)
--- a/
sys/msdk/gstmsdkvpp.c
+++ b/
sys/msdk/gstmsdkvpp.c
@@
-59,7
+59,7
@@
static GstStaticPadTemplate gst_msdkvpp_sink_factory =
("{ NV12, YV12, I420, YUY2, UYVY, BGRA, BGRx, P010_10LE }")
", " "interlace-mode = (string){ progressive, interleaved, mixed }" ";"
GST_VIDEO_CAPS_MAKE_WITH_FEATURES (GST_CAPS_FEATURE_MEMORY_DMABUF,
- "{ NV12, BGRA, YUY2, P010_10LE}")));
+ "{ NV12, BGRA, YUY2,
UYVY,
P010_10LE}")));
static GstStaticPadTemplate gst_msdkvpp_src_factory =
GST_STATIC_PAD_TEMPLATE ("src",