openjpegenc: Only allow stripe with image/x-jpc format
authorOlivier CrĂȘte <olivier.crete@collabora.com>
Tue, 22 Dec 2020 23:20:35 +0000 (18:20 -0500)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Mon, 20 Sep 2021 15:11:02 +0000 (15:11 +0000)
commit27d1313404e65097746f26678111f95aa3732789
tree971a27c6b01a0d9681ccb282a964584b5e4bcbd9
parent116a10d531d4d9bd523b943a427ebec21ab1784c
openjpegenc: Only allow stripe with image/x-jpc format

It's the only format that our MPEG-TS muxer allows and the carriage of
JPEG 2000 stripes is only defined for MPEG-TS as far as I know.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/979>
ext/openjpeg/gstopenjpegenc.c