return 0;
}
-FILE *producer_ffmpeg_run_video( producer_ffmpeg this, mlt_timecode position )
+FILE *producer_ffmpeg_run_video( producer_ffmpeg this, mlt_position position )
{
if ( this->video == NULL )
{
return this->video;
}
-FILE *producer_ffmpeg_run_audio( producer_ffmpeg this, mlt_timecode position )
+FILE *producer_ffmpeg_run_audio( producer_ffmpeg this, mlt_position position )
{
// Get the producer
mlt_producer producer = &this->parent;
if ( this->end_of_video && this->end_of_audio )
{
mlt_properties_set_int( properties, "end_of_clip", 1 );
- mlt_properties_set_timecode( producer_properties, "length", mlt_producer_position( &this->parent ) );
+ mlt_properties_set_position( producer_properties, "length", mlt_producer_position( &this->parent ) );
mlt_producer_set_in_and_out( &this->parent, mlt_producer_get_in( &this->parent ), mlt_producer_position( &this->parent ) );
}
// Update timecode on the frame we're creating
- mlt_frame_set_timecode( *frame, mlt_producer_position( producer ) );
+ mlt_frame_set_position( *frame, mlt_producer_position( producer ) );
// Calculate the next timecode
mlt_producer_prepare_next( producer );