webmmux: allow resolutions above 4096
authorChristopher Snowhill <kode54@gmail.com>
Thu, 17 Jan 2019 07:54:25 +0000 (23:54 -0800)
committerNicolas Dufresne <nicolas@ndufresne.ca>
Sat, 2 Feb 2019 15:40:53 +0000 (15:40 +0000)
Modify the caps string to allow width and height greater than 4096.
There is no need to restrict it since the matroska format allows the
width and height values to be up to eight bytes long, and this also
applies to the webm subset of the format.

Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/issues/550

gst/matroska/webm-mux.c

index 85c8639..188f273 100644 (file)
@@ -45,8 +45,8 @@
 #include "webm-mux.h"
 
 #define COMMON_VIDEO_CAPS \
-  "width = (int) [ 16, 4096 ], " \
-  "height = (int) [ 16, 4096 ], " \
+  "width = (int) [ 16, MAX ], " \
+  "height = (int) [ 16, MAX ], " \
   "framerate = (fraction) [ 0, MAX ]"
 
 #define COMMON_AUDIO_CAPS \