[vlc-commits] Decklink: Fix swapped format arguments

Marvin Scholz git at videolan.org
Mon Oct 22 19:09:04 CEST 2018


vlc | branch: master | Marvin Scholz <epirat07 at gmail.com> | Mon Oct 22 09:53:39 2018 +0200| [5541789dda5d205da8e1d8c8a453038e02d42fe5] | committer: Francois Cartegnie

Decklink: Fix swapped format arguments

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

 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 7f1c0d0660..60f18044c1 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 %ld dur %ld)",
                                 (char*)&modenl, psz_mode_name,
                                 p_mode->GetWidth(), p_mode->GetHeight(),
-                                (char *)&field,
                                 double(timescale) / frameduration,
+                                (char *)&field,
                                 timescale, frameduration);
                     }
 		    free(psz_mode_name);



More information about the vlc-commits mailing list