mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
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>
This commit is contained in:
parent
116a10d531
commit
27d1313404
1 changed files with 2 additions and 1 deletions
|
@ -152,13 +152,14 @@ static GstStaticPadTemplate gst_openjpeg_enc_src_template =
|
|||
"width = (int) [1, MAX], "
|
||||
"height = (int) [1, MAX], "
|
||||
"num-components = (int) [1, 4], "
|
||||
"num-stripes = (int) [1, MAX], "
|
||||
GST_JPEG2000_SAMPLING_LIST ","
|
||||
GST_JPEG2000_COLORSPACE_LIST "; "
|
||||
"image/x-jpc, "
|
||||
"width = (int) [1, MAX], "
|
||||
"height = (int) [1, MAX], "
|
||||
"num-components = (int) [1, 4], "
|
||||
"num-stripes = (int) [1, MAX], "
|
||||
"alignment = (string) { frame, stripe }, "
|
||||
GST_JPEG2000_SAMPLING_LIST ","
|
||||
GST_JPEG2000_COLORSPACE_LIST "; "
|
||||
"image/jp2, " "width = (int) [1, MAX], " "height = (int) [1, MAX]")
|
||||
|
|
Loading…
Reference in a new issue