[FFmpeg-devel] [PATCH 3/7] Extend ff_dprintf_picref() to make it print video interlaced and top_field_first information.
Michael Niedermayer
michaelni
Fri Aug 20 01:10:33 CEST 2010
On Thu, Aug 19, 2010 at 06:38:24PM +0200, Stefano Sabatini wrote:
> ---
> libavfilter/avfilter.c | 5 +++--
> 1 files changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c
> index 580023c..5bdd7a6 100644
> --- a/libavfilter/avfilter.c
> +++ b/libavfilter/avfilter.c
> @@ -201,9 +201,10 @@ 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:%d tff:%d",
> 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, picref->video->top_field_first);
> }
ok if it printfs "P"/"T"/B" for progressive vs top field first interlaced ...
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Opposition brings concord. Out of discord comes the fairest harmony.
-- Heraclitus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100820/63e437b0/attachment.pgp>
More information about the ffmpeg-devel
mailing list