From c77e8c14078c99ebb328a004673d726bbe7a7d3a Mon Sep 17 00:00:00 2001 From: Tristan Matthews Date: Mon, 7 Feb 2022 17:51:39 -0500 Subject: [PATCH] matroskamux: allow width+height caps changes for VP8/9 For VP8 and VP9, width+height changes are signalled inband. Refs https://github.com/Kurento/bugtracker/issues/535 and https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/1047/diffs?commit Part-of: --- subprojects/gst-plugins-good/gst/matroska/matroska-mux.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/subprojects/gst-plugins-good/gst/matroska/matroska-mux.c b/subprojects/gst-plugins-good/gst/matroska/matroska-mux.c index 5c492348b0..92d7494725 100644 --- a/subprojects/gst-plugins-good/gst/matroska/matroska-mux.c +++ b/subprojects/gst-plugins-good/gst/matroska/matroska-mux.c @@ -1001,6 +1001,10 @@ check_field (GQuark field_id, const GValue * value, gpointer user_data) return FALSE; else if (field_id == g_quark_from_static_string ("profile")) return FALSE; + else if (field_id == g_quark_from_static_string ("width")) + return FALSE; + else if (field_id == g_quark_from_static_string ("height")) + return FALSE; } /* This fields aren't used and are not retained into the bitstream so we can