[FFmpeg-cvslog] avconv: fix the check for -ss as an output option.
Anton Khirnov
git at videolan.org
Sat Jul 7 03:02:43 CEST 2012
ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Wed Jul 4 02:53:25 2012 +0200| [b98c8f4f2bf5879ba5393a439f0fccf76a65e448] | committer: Anton Khirnov
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.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b98c8f4f2bf5879ba5393a439f0fccf76a65e448
---
avconv.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/avconv.c b/avconv.c
index 6517c4b..c59916e 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;
}
More information about the ffmpeg-cvslog
mailing list