mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-22 23:28:16 +00:00
msdk: vpp: don't use NV12 as vpp default output for DMABuf usecase
Using NV12 layout in dmabuf mode giving mis-aligned VPP output with the media-driver. Keep the NV12 support (so that we can file the bug agianst msdk or mediadriver), but lower the ordering so that BGRA picks as default. NV12 issue can be reproduced with explicit capfilter: vidoetestsrc ! msdkvpp ! video/x-raw\(memory:DMABuf\),format=NV12 ! glimagesink
This commit is contained in:
parent
57b9875260
commit
3f2314a1a9
1 changed files with 5 additions and 4 deletions
|
@ -65,10 +65,11 @@ static GstStaticPadTemplate gst_msdkvpp_src_factory =
|
|||
GST_STATIC_PAD_TEMPLATE ("src",
|
||||
GST_PAD_SRC,
|
||||
GST_PAD_ALWAYS,
|
||||
GST_STATIC_CAPS (GST_VIDEO_CAPS_MAKE ("{ NV12, YUY2, BGRA, BGRx }") ", "
|
||||
"interlace-mode = (string){ progressive, interleaved, mixed }" ";"
|
||||
GST_VIDEO_CAPS_MAKE_WITH_FEATURES (GST_CAPS_FEATURE_MEMORY_DMABUF,
|
||||
"{ NV12, BGRA, YUY2}")));
|
||||
GST_STATIC_CAPS (GST_VIDEO_CAPS_MAKE_WITH_FEATURES
|
||||
(GST_CAPS_FEATURE_MEMORY_DMABUF,
|
||||
"{ BGRA, YUY2, NV12}") ";"
|
||||
GST_VIDEO_CAPS_MAKE ("{ NV12, YUY2, BGRA, BGRx }") ", "
|
||||
"interlace-mode = (string){ progressive, interleaved, mixed }" ";"));
|
||||
|
||||
enum
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue