jpeg: handle comment segments.
authorJunfeng Xu <jun.feng.xu@intel.com>
Tue, 17 Sep 2013 06:29:54 +0000 (14:29 +0800)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Fri, 20 Sep 2013 16:32:12 +0000 (18:32 +0200)
commita4aac6b89e70ed2ebb70051b3d5196184dab994a
tree275ee0405031cd4dde67707d51e0d65ac47bae78
parent77298beb15575131600867d6df2a3e85c3f1bc20
jpeg: handle comment segments.

Fix decode_buffer() function to gracefully skip comment (COM) segments.
This fixes decoding of streams generated by certain cameras, e.g. like
the Logitech Pro C920.

https://bugzilla.gnome.org/show_bug.cgi?id=708208

Signed-off-by: Junfeng Xu <jun.feng.xu@intel.com>
gst-libs/gst/vaapi/gstvaapidecoder_jpeg.c