decklink: enhancement: format selection with AVRational v2
authorMatthias Hunstock <atze@fem.tu-ilmenau.de>
Sun, 10 Jul 2016 11:02:37 +0000 (13:02 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 5 Aug 2016 19:33:43 +0000 (21:33 +0200)
commitd8ee02a071e8044687a34bed646718deb9d13d37
tree158aa6df6707a9e212b0288b6f448983e113ca7c
parent8431a6e654e5c4e2b80826240d4d50774212b309
decklink: enhancement: format selection with AVRational v2

When finding a video mode based on frame size and frame rate,
use AVRational methods instead of simple comparison. Add debug information.

Signed-off-by: Matthias Hunstock <atze@fem.tu-ilmenau.de>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavdevice/decklink_common.cpp