msdkvpp: allow UYVY in the src pad
authorHaihao Xiang <haihao.xiang@intel.com>
Thu, 14 Feb 2019 05:56:52 +0000 (13:56 +0800)
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Tue, 19 Feb 2019 11:04:47 +0000 (11:04 +0000)
commit56cada6902a9b4282ef0911c0ff81f460a1547fa
tree67f5231b59eae694be5d4c60f64845d033df2af1
parentac9423facb28b140fdd650e65d32b140db940ed8
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
sys/msdk/gstmsdkvpp.c