From ddb56d2d7f9f63bb53210f8a72d977b6839d1e9f Mon Sep 17 00:00:00 2001 From: Dan Dennedy Date: Sun, 30 Oct 2011 13:20:32 -0700 Subject: [PATCH] log profile info when profile not compatible with decklink mode --- src/modules/decklink/producer_decklink.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/modules/decklink/producer_decklink.cpp b/src/modules/decklink/producer_decklink.cpp index 8c763a1a..5eadc1c7 100644 --- a/src/modules/decklink/producer_decklink.cpp +++ b/src/modules/decklink/producer_decklink.cpp @@ -170,7 +170,11 @@ public: // Get the display mode BMDDisplayMode displayMode = getDisplayMode( profile, m_vancLines ); if ( displayMode == (BMDDisplayMode) bmdDisplayModeNotSupported ) + { + mlt_log_info( getProducer(), "profile = %dx%d %f fps %s\n", profile->width, profile->height, + mlt_profile_fps( profile ), profile->progressive? "progressive" : "interlace" ); throw "Profile is not compatible with decklink."; + } // Determine if supports input format detection #ifdef WIN32 -- 2.39.2