summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.com>2020-12-22 18:15:52 -0500
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>2021-09-20 15:11:02 +0000
commitb2f7cb3372e2d7f3cbc5bbda84fa0d54feefcce5 (patch)
treeab69b355da0b697a183b30f8996bb5c52078ec0a /ext
parent27d1313404e65097746f26678111f95aa3732789 (diff)
downloadgstreamer-plugins-bad-b2f7cb3372e2d7f3cbc5bbda84fa0d54feefcce5.tar.gz
openjpegdec: Reject stripes for now
They're not implemented. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/979>
Diffstat (limited to 'ext')
-rw-r--r--ext/openjpeg/gstopenjpegdec.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/openjpeg/gstopenjpegdec.c b/ext/openjpeg/gstopenjpegdec.c
index e8dd9ae9a..f3dbd5c0b 100644
--- a/ext/openjpeg/gstopenjpegdec.c
+++ b/ext/openjpeg/gstopenjpegdec.c
@@ -69,7 +69,8 @@ static GstStaticPadTemplate gst_openjpeg_dec_sink_template =
GST_PAD_ALWAYS,
GST_STATIC_CAPS ("image/x-j2c, "
GST_JPEG2000_SAMPLING_LIST "; "
- "image/x-jpc, " GST_JPEG2000_SAMPLING_LIST "; " "image/jp2")
+ "image/x-jpc, alignment=(string) frame,"
+ GST_JPEG2000_SAMPLING_LIST "; " "image/jp2")
);
static GstStaticPadTemplate gst_openjpeg_dec_src_template =