jpegdec: Handle interlaced MJPEG streams
authorSebastian Dröge <sebastian@centricular.com>
Tue, 5 Sep 2017 10:28:16 +0000 (13:28 +0300)
committerSebastian Dröge <sebastian@centricular.com>
Tue, 5 Sep 2017 11:45:16 +0000 (14:45 +0300)
commit09ee89f4c4ccbb1de21f7b7ed38dcc2d44f4253c
tree8c7427d263a4c7d909639ccf397bb4202e61e9fb
parent5bc5e07531e2496eab68fbfeab73b4d95f1709d3
jpegdec: Handle interlaced MJPEG streams

These come with two JPEG images per buffer of half height than signalled
in the container.

Changes based on Tim-Philipp Müller's 0.10 branch:
https://cgit.freedesktop.org/~tpm/gst-plugins-good/log/?h=jpegdec-interlaced

https://bugzilla.gnome.org/show_bug.cgi?id=568555
ext/jpeg/gstjpegdec.c