Browse Source

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.
tags/n1.0
Anton Khirnov 13 years ago
parent
commit
b98c8f4f2b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      avconv.c

+ 1
- 1
avconv.c 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;
}


Loading…
Cancel
Save