From 818428ce9c9b5b4a5d32b808e14621527ffe0698 Mon Sep 17 00:00:00 2001 From: Christopher Snowhill Date: Wed, 16 Jan 2019 23:54:25 -0800 Subject: [PATCH] webmmux: allow resolutions above 4096 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gst/matroska/webm-mux.c b/gst/matroska/webm-mux.c index 85c8639f51..188f273049 100644 --- a/gst/matroska/webm-mux.c +++ b/gst/matroska/webm-mux.c @@ -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 \