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

2016-07-09 Thread Marton Balint
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

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

2016-07-09 Thread Matthias Hunstock
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. Signed-off-by: Matthias Hunstock --- libavdevice/decklink_common.cpp | 22 +++--- 1 file ch