diff options
author | Haihao Xiang <haihao.xiang@intel.com> | 2019-02-25 12:43:19 +0800 |
---|---|---|
committer | Víctor Manuel Jáquez Leal <vjaquez@igalia.com> | 2019-02-27 15:22:43 +0000 |
commit | 0806f94e1cffeebf329b271d7b2c3716e0233c54 (patch) | |
tree | e2b8147d9549b13c1557693e7524701ca4e7d22a | |
parent | f39bcd3920c5f5e876f2907db795b06411fa6cb9 (diff) |
msdkvpp: add RGB16 format in the sink pad
Note: MSDK doesn't support RGB16 output, hence don't add RGB16 format in
the src pad
-rw-r--r-- | sys/msdk/gstmsdkvpp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/msdk/gstmsdkvpp.c b/sys/msdk/gstmsdkvpp.c index 482fcbac3..e3b0130d5 100644 --- a/sys/msdk/gstmsdkvpp.c +++ b/sys/msdk/gstmsdkvpp.c @@ -56,10 +56,10 @@ static GstStaticPadTemplate gst_msdkvpp_sink_factory = GST_PAD_SINK, GST_PAD_ALWAYS, GST_STATIC_CAPS (GST_VIDEO_CAPS_MAKE - ("{ NV12, YV12, I420, YUY2, UYVY, BGRA, BGRx, P010_10LE }") + ("{ NV12, YV12, I420, YUY2, UYVY, BGRA, BGRx, RGB16, P010_10LE }") ", " "interlace-mode = (string){ progressive, interleaved, mixed }" ";" GST_VIDEO_CAPS_MAKE_WITH_FEATURES (GST_CAPS_FEATURE_MEMORY_DMABUF, - "{ NV12, BGRA, YUY2, UYVY, P010_10LE}"))); + "{ NV12, BGRA, YUY2, UYVY, RGB16, P010_10LE}"))); static GstStaticPadTemplate gst_msdkvpp_src_factory = GST_STATIC_PAD_TEMPLATE ("src", |