diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-07-04 02:53:25 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-07-06 12:54:52 +0200 |
commit | b98c8f4f2bf5879ba5393a439f0fccf76a65e448 (patch) | |
tree | ff6d5efcc896c3564a05de0b0dd59206f8f7887c /avconv.c | |
parent | 1f061da529f4dad617c31b788b92089be4114c48 (diff) | |
download | ffmpeg-b98c8f4f2bf5879ba5393a439f0fccf76a65e448.tar.gz |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |