Flush stream only if avcodec_decode_video() read something.
authorgb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
Mon, 26 Apr 2010 08:53:18 +0000 (08:53 +0000)
committerGwenole Beauchesne <gbeauchesne@splitted-desktop.com>
Mon, 20 Sep 2010 10:55:32 +0000 (12:55 +0200)
commit0d7164c96c9b78a42a5a454552f69a63b97ee7ee
tree40a294336492cecf968b8196265e5563b12a33cf
parentda3948bdebf3b9eceb0df6a6b16a08f20f10f186
Flush stream only if avcodec_decode_video() read something.
Otherwise, we might still have to seek into the stream.
i.e. keep the data longer.
gst-libs/gst/vaapi/gstvaapidecoder_ffmpeg.c