mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-06-19 19:03:00 +02:00
fixes the frame number counter for -vcodec copy patch by (mru at users dot sourceforge.net (Måns Rullgård))
Originally committed as revision 1176 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
committed by
Michael Niedermayer
parent
d7425f59d5
commit
9ce2f2b133
@@ -1292,6 +1292,7 @@ static int av_encode(AVFormatContext **output_files,
|
|||||||
/* force the input stream PTS */
|
/* force the input stream PTS */
|
||||||
av_write_frame(os, ost->index, data_buf, data_size);
|
av_write_frame(os, ost->index, data_buf, data_size);
|
||||||
ost->st->codec.frame_number++;
|
ost->st->codec.frame_number++;
|
||||||
|
ost->frame_number++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user