summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaihao Xiang <haihao.xiang@intel.com>2019-02-14 14:48:12 +0800
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>2019-02-19 11:04:47 +0000
commit8213d0b8588657c0d71dbbef9deb6a182aac894f (patch)
treeea627d91983b5bb1f0119eec70d22498a909dd18
parent56cada6902a9b4282ef0911c0ff81f460a1547fa (diff)
msdkvpp: allow UYVY in DMABuf mode in the sink pad
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
-rw-r--r--sys/msdk/gstmsdkvpp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/msdk/gstmsdkvpp.c b/sys/msdk/gstmsdkvpp.c
index 69ee5b4ec..482fcbac3 100644
--- 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",