]> git.sesse.net Git - mlt/blobdiff - src/modules/avformat/producer_avformat.c
Minor optimisations, consumer avformat experimentation
[mlt] / src / modules / avformat / producer_avformat.c
index 582171ea7d13d4072c3e11d5b752d031b1c9cb30..f4cb38b6eed95e6cfc92e56c1f3631cbaf0dac26 100644 (file)
@@ -469,7 +469,7 @@ static int producer_get_image( mlt_frame frame, uint8_t **buffer, mlt_image_form
                                                current_time = real_timecode;
 
                                        // Handle ignore
-                                       if ( current_time < real_timecode )
+                                       if ( ( int )( current_time * 100 ) < ( int )( real_timecode * 100 ) - 7 )
                                        {
                                                ignore = 0;
                                                got_picture = 0;