Showing the changes to libavfilter (1 of 1 file). Show all
Unified · Split
| @@ -74,6 +74,7 @@ static int activate(AVFilterContext *ctx) · 73 unmodified lines | ||
| 74 | 74 | return AVERROR(ENOMEM); |
| 75 | 75 | |
| 76 | 76 | out->pts = s->frames[0]->pts; |
| 77 | + out->duration = s->frames[0]->duration; | |
| 77 | 78 | |
| 78 | 79 | if (av_get_packed_sample_fmt(ctx->inputs[0]->format) == AV_SAMPLE_FMT_FLT) { |
| 79 | 80 | for (i = 0; i < s->planes; i++) { |