Skip to content

Commit

Permalink
Continue A/V sync fix when splitting audio and video (kdenlive-2694).
Browse files Browse the repository at this point in the history
Previous version only applied to the audio stream when in > 0.
  • Loading branch information
ddennedy committed Jan 8, 2013
1 parent a231475 commit ba392da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/avformat/producer_avformat.c
Original file line number Diff line number Diff line change
Expand Up @@ -2148,7 +2148,7 @@ static int seek_audio( producer_avformat self, mlt_position position, double tim
int paused = 0;

// Seek if necessary
if ( self->seekable && position != self->audio_expected )
if ( self->seekable && ( position != self->audio_expected || self->last_position < 0 ) )
{
if ( self->last_position == POSITION_INITIAL )
{
Expand Down

0 comments on commit ba392da

Please sign in to comment.