[vlc-commits] vout: decklink: debug field dominance

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:07:07 2016 +0100| [25a09922948cbeed0574ffd36c3ba8558792cc5f] | committer: Francois Cartegnie

vout: decklink: debug field dominance

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

 modules/video_output/decklink.cpp | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/modules/video_output/decklink.cpp b/modules/video_output/decklink.cpp
index 4089c01..680200c 100644
--- a/modules/video_output/decklink.cpp
+++ b/modules/video_output/decklink.cpp
@@ -401,9 +401,11 @@ static IDeckLinkDisplayMode * MatchDisplayMode(vout_display_t *vd,
                     BMDDisplayMode modenl = htonl(mode_id);
                     if(i==0)
                     {
-                        msg_Dbg(vd, "Found mode '%4.4s': %s (%ldx%ld, %.3f fps, scale %ld dur %ld)",
+                        BMDFieldDominance field = htonl(p_mode->GetFieldDominance());
+                        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),
                                 timescale, frameduration);
                     }



More information about the vlc-commits mailing list