summaryrefslogtreecommitdiff
path: root/gst/matroska/matroska-mux.c
diff options
context:
space:
mode:
authorDavid Fernandez <d.fernandezlop@gmail.com>2018-02-26 17:26:41 +0100
committerNicolas Dufresne <nicolas.dufresne@collabora.com>2021-05-05 16:31:33 -0400
commit056f8ce6ca343f9c28ef95e2d35ef236583e1f81 (patch)
treed8a31b0de2709f6f1f14debd896ac9e9e75df38d /gst/matroska/matroska-mux.c
parent39f0905a7e9fcc9e6765922ffe6190281443c37c (diff)
matroska-mux: Change accepted caps width and height from [16, MAX] to [1, MAX]
There are cases where the video size might be less than 16x16. This change allows the Matroska muxer to accept this cases. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/539>
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 09edfa6da..48f24fd3a 100644
--- a/gst/matroska/matroska-mux.c
+++ b/gst/matroska/matroska-mux.c
@@ -97,8 +97,8 @@ static GstStaticPadTemplate src_templ = GST_STATIC_PAD_TEMPLATE ("src",
);
#define COMMON_VIDEO_CAPS \
- "width = (int) [ 16, MAX ], " \
- "height = (int) [ 16, MAX ] "
+ "width = (int) [ 1, MAX ], " \
+ "height = (int) [ 1, MAX ] "
/* FIXME:
* * require codec data, etc as needed