Showing the changes to libavfilter/avfilter.c (1 of 30 files). Show all
Unified · Split
| @@ -57,8 +57,8 @@ static void tlog_ref(void *ctx, AVFrame *ref, int end) · 56 unmodified lines | ||
| 57 | 57 | ff_tlog(ctx, " a:%d/%d s:%dx%d i:%c iskey:%d type:%c", |
| 58 | 58 | ref->sample_aspect_ratio.num, ref->sample_aspect_ratio.den, |
| 59 | 59 | 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 */ | |
| 62 | 62 | ref->key_frame, |
| 63 | 63 | av_get_picture_type_char(ref->pict_type)); |
| 64 | 64 | } |