From: Dan Dennedy Date: Sun, 30 Oct 2011 20:20:32 +0000 (-0700) Subject: log profile info when profile not compatible with decklink mode X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=ddb56d2d7f9f63bb53210f8a72d977b6839d1e9f;p=mlt log profile info when profile not compatible with decklink mode --- 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