summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Snowhill <kode54@gmail.com>2019-01-16 23:54:25 -0800
committerTim-Philipp Müller <tim@centricular.com>2019-05-06 23:43:07 +0200
commit2f93c516a16f0e5f8fd147455f5c0735fc91188a (patch)
treed8684e4ac72a47958273f81954f35459bc7a955e
parentcaf48e5c6f37beb950e3b26a62ab229cbb85d150 (diff)
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
-rw-r--r--gst/matroska/webm-mux.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/matroska/webm-mux.c b/gst/matroska/webm-mux.c
index 85c8639f5..188f27304 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 \