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.
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.

ceyusa/gstreamer-vaapi,CapOM/gstreamer-vaapi,gbeauchesne/gstreamer-vaapi,GStreamer/gstreamer-vaapi,sreerenjb/sree-gstreamer-vaapi,01org/iotg-lin-gfx-gstreamer-vaapi,sreerenjb/sree-gstreamer-vaapi,sreerenjb/sree-gstreamer-vaapi,01org/iotg-lin-gfx-gstreamer-vaapi,gbeauchesne/gstreamer-vaapi,CapOM/gstreamer-vaapi,gbeauchesne/gstreamer-vaapi,01org/iotg-lin-gfx-gstreamer-vaapi,GStreamer/gstreamer-vaapi,ceyusa/gstreamer-vaapi,CapOM/gstreamer-vaapi