History

avfilter: use the new AVFrame interlace flags in all filters

James Almer committed 3 years ago

Commit 36827ea1 parent 2f561ba30 files · +132 −53Browse files

Showing the changes to libavfilter/avfilter.c (1 of 30 files). Show all

Unified · Split

libavfilter/avfilter.c+2−2
@@ -57,8 +57,8 @@ static void tlog_ref(void *ctx, AVFrame *ref, int end) · 56 unmodified lines
5757 ff_tlog(ctx, " a:%d/%d s:%dx%d i:%c iskey:%d type:%c",
5858 ref->sample_aspect_ratio.num, ref->sample_aspect_ratio.den,
5959 ref->width, ref->height,
60− !ref->interlaced_frame ? 'P' : /* Progressive */
61− ref->top_field_first ? 'T' : 'B', /* Top / Bottom */
60+ !(ref->flags & AV_FRAME_FLAG_INTERLACED) ? 'P' : /* Progressive */
61+ (ref->flags & AV_FRAME_FLAG_TOP_FIELD_FIRST) ? 'T' : 'B', /* Top / Bottom */
6262 ref->key_frame,
6363 av_get_picture_type_char(ref->pict_type));
6464 }

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