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