avfilter/f_graphmonitor: always output last frame on EOF
This commit is contained in:
parent
ac6a6d1abf
commit
12acbcb7a2
@ -516,7 +516,7 @@ static int activate(AVFilterContext *ctx)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (s->pts < s->next_pts && ff_outlink_frame_wanted(outlink))
|
if (s->eof || (s->pts < s->next_pts && ff_outlink_frame_wanted(outlink)))
|
||||||
return create_frame(ctx, s->pts);
|
return create_frame(ctx, s->pts);
|
||||||
|
|
||||||
if (!s->eof && ff_inlink_acknowledge_status(inlink, &status, &pts)) {
|
if (!s->eof && ff_inlink_acknowledge_status(inlink, &status, &pts)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user