jpeg: fix determination of image bounds.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 18 Sep 2013 15:59:44 +0000 (17:59 +0200)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Fri, 20 Sep 2013 16:32:12 +0000 (18:32 +0200)
commit77298beb15575131600867d6df2a3e85c3f1bc20
tree31348c50d0017e70d6c65cd68fa0440713f4b707
parent9c29bbde58e1a9a343b8e973295c6d98bb8fed91
jpeg: fix determination of image bounds.

Look for the exact image bounds characterised by the <SOI> and <EOI>
markers. Use the gst_jpeg_parse() codec parser utility function to
optimize the lookup for the next marker segment.

https://bugzilla.gnome.org/show_bug.cgi?id=707447
gst-libs/gst/vaapi/gstvaapidecoder_jpeg.c