]> git.sesse.net Git - mlt/blobdiff - src/modules/decklink/producer_decklink.cpp
Fix mlt_profile to DeckLink DisplayMode matching.
[mlt] / src / modules / decklink / producer_decklink.cpp
index 6a8492be057f82af50ee784afae04d17506855a0..51456120e1f9ba774b4adc50a941c7dfb725e41a 100644 (file)
@@ -67,7 +67,7 @@ private:
 
                                if ( width == profile->width && p == profile->progressive
                                         && ( height + vancLines == profile->height || ( height == 486 && profile->height == 480 + vancLines ) )
-                                        && fps == mlt_profile_fps( profile ) )
+                                        && (int) fps == (int) mlt_profile_fps( profile ) )
                                        result = mode->GetDisplayMode();
                                SAFE_RELEASE( mode );
                        }