mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-30 04:00:37 +00:00
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
This commit is contained in:
parent
f39bcd3920
commit
0806f94e1c
1 changed files with 2 additions and 2 deletions
|
@ -56,10 +56,10 @@ static GstStaticPadTemplate gst_msdkvpp_sink_factory =
|
||||||
GST_PAD_SINK,
|
GST_PAD_SINK,
|
||||||
GST_PAD_ALWAYS,
|
GST_PAD_ALWAYS,
|
||||||
GST_STATIC_CAPS (GST_VIDEO_CAPS_MAKE
|
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 }" ";"
|
", " "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, UYVY, P010_10LE}")));
|
"{ NV12, BGRA, YUY2, UYVY, RGB16, 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