Showing the changes to libavfilter (1 of 1 file). Show all
Unified · Split
| @@ -125,6 +125,7 @@ static int activate(AVFilterContext *ctx) · 124 unmodified lines | ||
| 125 | 125 | |
| 126 | 126 | if (!s->eof && ff_inlink_acknowledge_status(inlink, &status, &pts)) { |
| 127 | 127 | if (status == AVERROR_EOF) { |
| 128 | + pts = av_rescale_q(pts, inlink->time_base, outlink->time_base); | |
| 128 | 129 | if (!s->pad_stop) { |
| 129 | 130 | ff_outlink_set_status(outlink, status, pts); |
| 130 | 131 | return 0; |