summaryrefslogtreecommitdiff
path: root/gst/matroska/matroska-mux.c
diff options
context:
space:
mode:
authorBranko Subasic <branko@axis.com>2016-10-27 14:03:48 +0200
committerTim-Philipp Müller <tim@centricular.com>2016-10-27 14:01:55 +0100
commitddba77ea6ecd9bbc2d9cbd2ccf2bd3ba5e41598d (patch)
tree3c884604b0f78cec4f9c8ea8c95e1a60ae303b46 /gst/matroska/matroska-mux.c
parent023744a5776b55a82681e87a8d822ebe9a001716 (diff)
matroskamux: 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. https://bugzilla.gnome.org/show_bug.cgi?id=773582
Diffstat (limited to 'gst/matroska/matroska-mux.c')
-rw-r--r--gst/matroska/matroska-mux.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/matroska/matroska-mux.c b/gst/matroska/matroska-mux.c
index f77bd49c7..731612ee8 100644
--- a/gst/matroska/matroska-mux.c
+++ b/gst/matroska/matroska-mux.c
@@ -89,8 +89,8 @@ static GstStaticPadTemplate src_templ = GST_STATIC_PAD_TEMPLATE ("src",
);
#define COMMON_VIDEO_CAPS \
- "width = (int) [ 16, 4096 ], " \
- "height = (int) [ 16, 4096 ] "
+ "width = (int) [ 16, MAX ], " \
+ "height = (int) [ 16, MAX ] "
/* FIXME:
* * require codec data, etc as needed