diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2010-11-23 21:45:41 +0100 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2010-11-30 12:07:49 +0100 |
commit | 7593d092df8f57f0949e13e542a2ff640caa67a5 (patch) | |
tree | 9f2b3b895ed92ff9ee8d337117cc7815b8dd1793 /ext | |
parent | 0930f0645f03f7bd59537bbb4550f62d5fe58a6a (diff) | |
download | gstreamer-plugins-bad-7593d092df8f57f0949e13e542a2ff640caa67a5.tar.gz |
jp2kenc: Emit SOP markers in every codestream packet
This makes parsing much easier, faster and more reliable.
Diffstat (limited to 'ext')
-rw-r--r-- | ext/jp2k/gstjasperenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/jp2k/gstjasperenc.c b/ext/jp2k/gstjasperenc.c index 92038f50e..a372be2ab 100644 --- a/ext/jp2k/gstjasperenc.c +++ b/ext/jp2k/gstjasperenc.c @@ -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"); |