ffmpeg: make max frames work again, after merge
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
2
ffmpeg.c
2
ffmpeg.c
@@ -3440,7 +3440,7 @@ static int transcode(void)
|
||||
if (ost->is_past_recording_time ||
|
||||
(os->pb && avio_tell(os->pb) >= of->limit_filesize))
|
||||
continue;
|
||||
if (ost->frame_number > ost->max_frames) {
|
||||
if (ost->frame_number >= ost->max_frames) {
|
||||
int j;
|
||||
for (j = 0; j < of->ctx->nb_streams; j++)
|
||||
output_streams[of->ost_index + j]->is_past_recording_time = 1;
|
||||
|
Reference in New Issue
Block a user