summaryrefslogtreecommitdiff
path: root/avconv.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2012-07-04 02:53:25 +0200
committerAnton Khirnov <anton@khirnov.net>2012-07-06 12:54:52 +0200
commitb98c8f4f2bf5879ba5393a439f0fccf76a65e448 (patch)
treeff6d5efcc896c3564a05de0b0dd59206f8f7887c /avconv.c
parent1f061da529f4dad617c31b788b92089be4114c48 (diff)
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.
Diffstat (limited to 'avconv.c')
-rw-r--r--avconv.c2
1 files changed, 1 insertions, 1 deletions
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;
}