mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
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
This commit is contained in:
parent
56cada6902
commit
8213d0b858
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ static GstStaticPadTemplate gst_msdkvpp_sink_factory =
|
||||||
("{ NV12, YV12, I420, YUY2, UYVY, BGRA, BGRx, P010_10LE }")
|
("{ NV12, YV12, I420, YUY2, UYVY, BGRA, BGRx, P010_10LE }")
|
||||||
", " "interlace-mode = (string){ progressive, interleaved, mixed }" ";"
|
", " "interlace-mode = (string){ progressive, interleaved, mixed }" ";"
|
||||||
GST_VIDEO_CAPS_MAKE_WITH_FEATURES (GST_CAPS_FEATURE_MEMORY_DMABUF,
|
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 =
|
static GstStaticPadTemplate gst_msdkvpp_src_factory =
|
||||||
GST_STATIC_PAD_TEMPLATE ("src",
|
GST_STATIC_PAD_TEMPLATE ("src",
|
||||||
|
|
Loading…
Reference in a new issue