{
int i = 0;
mlt_properties properties = MLT_FILTER_PROPERTIES( requested );
- static char *prefix = "properties.";
+ static const char *prefix = "properties.";
int len = strlen( prefix );
// Determine if this is an absolute or relative feed
{
// special case: replace #timecode# with current frame timecode
int pos = mlt_properties_get_int( feed, "position" );
- char *tc = frame_to_timecode( pos, mlt_profile_fps( NULL ) );
+ char *tc = frame_to_timecode( pos, mlt_profile_fps( mlt_service_profile( MLT_FILTER_SERVICE( filter ) ) ) );
strcat( result, tc );
free( tc );
}