matroskamux: allow width+height caps changes for VP8/9
authorTristan Matthews <tmatth@videolan.org>
Mon, 7 Feb 2022 22:51:39 +0000 (17:51 -0500)
committerTristan Matthews <tmatth@videolan.org>
Fri, 4 Mar 2022 19:17:20 +0000 (14:17 -0500)
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: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1657>

subprojects/gst-plugins-good/gst/matroska/matroska-mux.c

index 80160e7..189f4ee 100644 (file)
@@ -1011,6 +1011,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