1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-15 14:13:16 +02:00

avconv: fix the check for -ss as an output option.

start time is already substracted from the frame timestamp, so it needs
to be checked against 0, not start time.
This commit is contained in:
Anton Khirnov
2012-07-04 02:53:25 +02:00
parent 1f061da529
commit b98c8f4f2b

View File

@@ -1568,7 +1568,7 @@ static int poll_filters(void)
AV_TIME_BASE_Q,
ost->st->codec->time_base);
if (of->start_time && filtered_frame->pts < of->start_time) {
if (of->start_time && filtered_frame->pts < 0) {
avfilter_unref_buffer(picref);
continue;
}