Showing the changes to libavfilter (1 of 1 file). Show all
Unified · Split
| @@ -142,6 +142,7 @@ static int activate(AVFilterContext *ctx) · 141 unmodified lines | ||
| 142 | 142 | FFMIN(ctx->outputs[0]->ch_layout.nb_channels, ff_filter_get_nb_threads(ctx))); |
| 143 | 143 | |
| 144 | 144 | out->pts = s->frame[0]->pts; |
| 145 | + out->duration = s->frame[0]->duration; | |
| 145 | 146 | |
| 146 | 147 | av_frame_free(&s->frame[0]); |
| 147 | 148 | av_frame_free(&s->frame[1]); |