msdkvpp: allow UYVY in the src pad

This make the pipeline below works:

gst-launch-1.0 videotestsrc num-buffers=1 ! msdkvpp ! \
video/x-raw,format=UYVY ! filesink location=a.yuv

Once https://github.com/intel/media-driver/pull/526 in the media-driver
is merged, the pipeline below also works:

gst-launch-1.0 videotestsrc num-buffers=1 ! msdkvpp ! \
video/x-raw\(memory:DMABuf\),format=UYVY ! filesink location=a.yuv
This commit is contained in:
Haihao Xiang 2019-02-14 13:56:52 +08:00 committed by Víctor Manuel Jáquez Leal
parent ac9423facb
commit 56cada6902

View file

@ -67,8 +67,8 @@ static GstStaticPadTemplate gst_msdkvpp_src_factory =
GST_PAD_ALWAYS,
GST_STATIC_CAPS (GST_VIDEO_CAPS_MAKE_WITH_FEATURES
(GST_CAPS_FEATURE_MEMORY_DMABUF,
"{ BGRA, YUY2, NV12, BGRx, P010_10LE}") ";"
GST_VIDEO_CAPS_MAKE ("{ BGRA, NV12, YUY2, BGRx, P010_10LE }") ", "
"{ BGRA, YUY2, UYVY, NV12, BGRx, P010_10LE}") ";"
GST_VIDEO_CAPS_MAKE ("{ BGRA, NV12, YUY2, UYVY, BGRx, P010_10LE }") ", "
"interlace-mode = (string){ progressive, interleaved, mixed }" ";"));
enum