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;
{
got_picture = 0;
}
+ mlt_properties_set_int( properties, "top_field_first", frame.top_field_first );
}
}
}
}
}
+
+ // Set the field order property for this frame
+ mlt_properties_set_int( frame_properties, "top_field_first",
+ mlt_properties_get_int( properties, "top_field_first" ) );
// Regardless of speed, we expect to get the next frame (cos we ain't too bright)
mlt_properties_set_position( properties, "video_expected", position + 1 );