mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-19 05:45:58 +00:00
jp2kenc: Emit SOP markers in every codestream packet
This makes parsing much easier, faster and more reliable.
This commit is contained in:
parent
0930f0645f
commit
7593d092df
1 changed files with 1 additions and 1 deletions
|
@ -422,7 +422,7 @@ gst_jasper_enc_get_data (GstJasperEnc * enc, guint8 * data, GstBuffer ** outbuf)
|
|||
|
||||
GST_LOG_OBJECT (enc, "all components written");
|
||||
|
||||
if (jas_image_encode (enc->image, stream, enc->fmt, (char *) ""))
|
||||
if (jas_image_encode (enc->image, stream, enc->fmt, (char *) "sop"))
|
||||
goto fail_encode;
|
||||
|
||||
GST_LOG_OBJECT (enc, "image encoded");
|
||||
|
|
Loading…
Reference in a new issue