mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-16 19:25:18 +00:00
vp9alphadecodebin: Fix auto-pluging v4l2slvp9dec
This adds the alignment field to the template caps. Without this field set, the auto-plugger will see fixed caps and will use gst_caps_is_subset() against the caps produced by the parser. This is a challenge for all cases where a parser can do conversion. This is fixed by adding alignment field, which makes the auto-pluggers do an intersection of the caps as it gets unfixed caps after intersection now. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1439>
This commit is contained in:
parent
6d67b43352
commit
91b7a9497b
1 changed files with 2 additions and 1 deletions
|
@ -36,7 +36,8 @@
|
|||
static GstStaticPadTemplate sink_template = GST_STATIC_PAD_TEMPLATE ("sink",
|
||||
GST_PAD_SINK,
|
||||
GST_PAD_ALWAYS,
|
||||
GST_STATIC_CAPS ("video/x-vp9, codec-alpha = (boolean) true")
|
||||
GST_STATIC_CAPS ("video/x-vp9, codec-alpha = (boolean) true, "
|
||||
"alignment = super-frame")
|
||||
);
|
||||
|
||||
struct _GstVp9AlphaDecodeBin
|
||||
|
|
Loading…
Reference in a new issue