History

avfilter/libplacebo: strip interlaced flag when deinterlacing

Niklas Haas committed 1 year ago

Commit 83c1b341 parent 123cccb1 file · +2 −0Browse files

Showing the changes to libavfilter (1 of 1 file). Show all

Unified · Split

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

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t