[FFmpeg-devel] [PATCH 2/2] decklink: enhancement: mode selection with AVRational

Marton Balint cus at passwd.hu
Sun Jul 10 02:31:06 EEST 2016

On Sat, 9 Jul 2016, Matthias Hunstock wrote:

> When finding a video mode based on frame size and frame rate,
> use AVRational methods instead of simple comparison. Also fixes
> a swap of num and den and add runtime debug level information.

I am a bit against renaming num and den to the names in the BlackMagic 
SDK. They are semantically equivalent to our frame rate num/den, and the 
reason for swapping them is to get the time base instead of frame rate. Or 
am I missing something here?


More information about the ffmpeg-devel mailing list