ffmpeg: Fix initialize frame_count. Turn off underflow for real-time devices.