Skip to content

Commit

Permalink
Fix B producer off by one frame in mlt_playlist_mix_out().
Browse files Browse the repository at this point in the history
  • Loading branch information
ddennedy committed Apr 16, 2017
1 parent 090173a commit 3b049b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/framework/mlt_playlist.c
Expand Up @@ -1407,7 +1407,7 @@ int mlt_playlist_mix_out( mlt_playlist self, int clip, int length )
track_a = clip_a->producer;

if ( length != clip_b->frame_in )
track_b = mlt_producer_cut( clip_b->producer, clip_b->frame_in - length + 1, clip_b->frame_in );
track_b = mlt_producer_cut( clip_b->producer, clip_b->frame_in - length, clip_b->frame_in - 1 );
else
track_b = clip_b->producer;

Expand Down

0 comments on commit 3b049b7

Please sign in to comment.