History

lavfi: print key-frame and picture type information in ff_dlog_ref()

Stefano Sabatini committed 15 years ago

Commit f7bdffb1 parent 191e08d1 file · +4 −2Browse files

Unified · Split

libavfilter/avfilter.c+4−2
@@ -237,11 +237,13 @@ static void ff_dlog_ref(void *ctx, AVFilterBufferRef *ref, int end) · 236 unmodified lines
237237 ref->pts, ref->pos);
238238
239239 if (ref->video) {
240− av_dlog(ctx, " a:%d/%d s:%dx%d i:%c",
240+ av_dlog(ctx, " a:%d/%d s:%dx%d i:%c iskey:%d type:%c",
241241 ref->video->pixel_aspect.num, ref->video->pixel_aspect.den,
242242 ref->video->w, ref->video->h,
243243 !ref->video->interlaced ? 'P' : /* Progressive */
244− ref->video->top_field_first ? 'T' : 'B'); /* Top / Bottom */
244+ ref->video->top_field_first ? 'T' : 'B', /* Top / Bottom */
245+ ref->video->key_frame,
246+ av_get_picture_type_char(ref->video->pict_type));
245247 }
246248 if (ref->audio) {
247249 av_dlog(ctx, " cl:%"PRId64"d sn:%d s:%d sr:%d p:%d",

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