Fixes a bug where hardware frames would not transfer to RAM for the last few frames of a video. The 'ret' variable can be 0 even though there are still frames ready.
Fixes a bug where hardware frames would not transfer to RAM for the last few frames of a video. The 'ret' variable can be 0 even though there are still frames ready.