[vlc-devel] [PATCH 5/5] Decklink: Fix swapped format arguments
Marvin Scholz
epirat07 at gmail.com
Mon Oct 22 10:11:21 CEST 2018
---
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 fba5ab3210..49a952688f 100644
--- a/modules/video_output/decklink.cpp
+++ b/modules/video_output/decklink.cpp
@@ -507,8 +507,8 @@ static IDeckLinkDisplayMode * MatchDisplayMode(vout_display_t *vd,
msg_Dbg(vd, "Found mode '%4.4s': %s (%ldx%ld, %.3f fps, %4.4s, scale %lld dur %lld)",
(char*)&modenl, psz_mode_name,
p_mode->GetWidth(), p_mode->GetHeight(),
- (char *)&field,
double(timescale) / frameduration,
+ (char *)&field,
timescale, frameduration);
}
free(psz_mode_name);
--
2.19.1
More information about the vlc-devel
mailing list