Commit 9ce2f2b1 authored by Måns Rullgård's avatar Måns Rullgård Committed by Michael Niedermayer
Browse files

fixes the frame number counter for -vcodec copy patch by (mru at users dot...

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
parent d7425f59
......@@ -1292,6 +1292,7 @@ static int av_encode(AVFormatContext **output_files,
/* force the input stream PTS */
av_write_frame(os, ost->index, data_buf, data_size);
ost->st->codec.frame_number++;
ost->frame_number++;
}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment