jp2kenc: Emit SOP markers in every codestream packet

This makes parsing much easier, faster and more reliable.
This commit is contained in:
Sebastian Dröge 2010-11-23 21:45:41 +01:00
parent 0930f0645f
commit 7593d092df

View file

@ -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");