Showing the changes to libavfilter (1 of 1 file). Show all
Unified · Split
| @@ -856,6 +856,8 @@ static int output_frame(AVFilterContext *ctx, int64_t pts) · 855 unmodified lines | ||
| 856 | 856 | out->color_range = outlink->color_range; |
| 857 | 857 | if (s->fps.num) |
| 858 | 858 | out->duration = 1; |
| 859 | + if (s->deinterlace) | |
| 860 | + out->flags &= ~(AV_FRAME_FLAG_INTERLACED | AV_FRAME_FLAG_TOP_FIELD_FIRST); | |
| 859 | 861 | |
| 860 | 862 | if (s->apply_dovi && av_frame_get_side_data(ref, AV_FRAME_DATA_DOVI_METADATA)) { |
| 861 | 863 | /* Output of dovi reshaping is always BT.2020+PQ, so infer the correct |