From b98c8f4f2bf5879ba5393a439f0fccf76a65e448 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Wed, 4 Jul 2012 02:53:25 +0200 Subject: 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. --- avconv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'avconv.c') diff --git a/avconv.c b/avconv.c index 6517c4bcfc..c59916e3ed 100644 --- a/avconv.c +++ b/avconv.c @@ -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; } -- cgit v1.2.3