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.
This commit is contained in:
parent
1f061da529
commit
b98c8f4f2b
2
avconv.c
2
avconv.c
@ -1568,7 +1568,7 @@ static int poll_filters(void)
|
|||||||
AV_TIME_BASE_Q,
|
AV_TIME_BASE_Q,
|
||||||
ost->st->codec->time_base);
|
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);
|
avfilter_unref_buffer(picref);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user