[vlc-commits] vout: decklink: fix mode fps debug

Francois Cartegnie git at videolan.org
Mon Nov 21 17:46:37 CET 2016


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Mon Nov 21 15:32:18 2016 +0100| [80aba5b08505214a8ce6b1e0ff2b634aa3aaddcb] | committer: Francois Cartegnie

vout: decklink: fix mode fps debug

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=80aba5b08505214a8ce6b1e0ff2b634aa3aaddcb
---

 modules/video_output/decklink.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/video_output/decklink.cpp b/modules/video_output/decklink.cpp
index 680200c..30f8664 100644
--- a/modules/video_output/decklink.cpp
+++ b/modules/video_output/decklink.cpp
@@ -406,7 +406,7 @@ static IDeckLinkDisplayMode * MatchDisplayMode(vout_display_t *vd,
                                 (char*)&modenl, psz_mode_name,
                                 p_mode->GetWidth(), p_mode->GetHeight(),
                                 (char *)&field,
-                                double(timescale / frameduration),
+                                double(timescale) / frameduration,
                                 timescale, frameduration);
                     }
                 }



More information about the vlc-commits mailing list