]> git.sesse.net Git - mlt/blobdiff - src/modules/decklink/consumer_decklink.cpp
Fix mlt_profile to DeckLink DisplayMode matching.
[mlt] / src / modules / decklink / consumer_decklink.cpp
index 9df9a2612290243a8dfa5dac0c7e9fdad053a7c3..f8ef0cde01214065ce981a699f22294a982378c8 100644 (file)
@@ -75,7 +75,7 @@ private:
                                mlt_log_verbose( getConsumer(), "BMD mode %dx%d %.3f fps prog %d\n", m_width, m_height, m_fps, p );
 
                                if ( m_width == profile->width && p == profile->progressive
-                                        && m_fps == mlt_profile_fps( profile )
+                                        && (int) m_fps == (int) mlt_profile_fps( profile )
                                         && ( m_height == profile->height || ( m_height == 486 && profile->height == 480 ) ) )
                                        result = mode;
                                else