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.
pull/59/head
Anton Khirnov 13 years ago
parent 1f061da529
commit b98c8f4f2b
  1. 2
      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;
}

Loading…
Cancel
Save