Detects video dimensions from first frame via QVideoSink, sets max height on the video widget to eliminate black bars. Resets on each new video. Uses KeepAspectRatio mode.
Detects video dimensions from first frame via QVideoSink, sets max height on the video widget to eliminate black bars. Resets on each new video. Uses KeepAspectRatio mode.