jpeg: fix end-of-image (EOI) handler.
authorSreerenj Balachandran <sreerenj.balachandran@intel.com>
Fri, 24 Aug 2012 08:36:16 +0000 (11:36 +0300)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Mon, 27 Aug 2012 09:03:16 +0000 (11:03 +0200)
commitf2741a88cc77cfbb3a0989a930fb69d3d497cbcb
tree290af41fb6ea5f50e87406c54a03224bffc79c52
parent1fb8f4791f7d3e734f80b8144353ea0db220a557
jpeg: fix end-of-image (EOI) handler.

decode_current_picture() was converted to return a gboolean instead
of a GstVaapiDecoderStatus, so we were not getting out of the decode
loop as expected, or could cause an error instead.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
gst-libs/gst/vaapi/gstvaapidecoder_jpeg.c