{
// special case: replace #timecode# with current frame timecode
int pos = mlt_properties_get_int( feed, "position" );
- char *tc = frame_to_timecode( pos, mlt_properties_get_int( MLT_FRAME_PROPERTIES( frame ), "fps" ) );
+ char *tc = frame_to_timecode( pos, mlt_profile_fps( NULL ) );
strcat( result, tc );
free( tc );
}