mpeg4: fix size argument to gst_adapter_flush().
authorWind Yuan <feng.yuan@intel.com>
Fri, 12 Oct 2012 08:44:05 +0000 (16:44 +0800)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Mon, 17 Dec 2012 13:56:11 +0000 (14:56 +0100)
commite15c74acbf82be354fcec765028c5ae87f59b564
treebd7256d788ff7058eb98528bfee45c1343035985
parent181e47fb25d5833a2d73df9fdf3e1707cee44db2
mpeg4: fix size argument to gst_adapter_flush().

Flush only consumed_size bytes from the GstAdapter.

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