提交 801ab980 编写于 作者: S Stefano Sabatini

Extend ff_dprintf_picref() to make it print video interlaced and

top_field_first information.

Originally committed as revision 24845 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 382ecd35
......@@ -201,9 +201,11 @@ void ff_dprintf_picref(void *ctx, AVFilterBufferRef *picref, int end)
picref->pts, picref->pos);
if (picref->video) {
dprintf(ctx, " a:%d/%d s:%dx%d",
dprintf(ctx, " a:%d/%d s:%dx%d i:%c",
picref->video->pixel_aspect.num, picref->video->pixel_aspect.den,
picref->video->w, picref->video->h);
picref->video->w, picref->video->h,
!picref->video->interlaced ? 'P' : /* Progressive */
picref->video->top_field_first ? 'T' : 'B'); /* Top / Bottom */
}
dprintf(ctx, "]%s", end ? "\n" : "");
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册