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
57 ff_tlog(ctx, " a:%d/%d s:%dx%d i:%c iskey:%d type:%c",57 ff_tlog(ctx, " a:%d/%d s:%dx%d i:%c iskey:%d type:%c",
58 ref->sample_aspect_ratio.num, ref->sample_aspect_ratio.den,58 ref->sample_aspect_ratio.num, ref->sample_aspect_ratio.den,
59 ref->width, ref->height,59 ref->width, ref->height,
60 !ref->interlaced_frame ? 'P' : /* Progressive */60 !(ref->flags & AV_FRAME_FLAG_INTERLACED) ? 'P' : /* Progressive */
61 ref->top_field_first ? 'T' : 'B', /* Top / Bottom */61 (ref->flags & AV_FRAME_FLAG_TOP_FIELD_FIRST) ? 'T' : 'B', /* Top / Bottom */
62 ref->key_frame,62 ref->key_frame,
63 av_get_picture_type_char(ref->pict_type));63 av_get_picture_type_char(ref->pict_type));
64 }64 }

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