[FFmpeg-devel] [PATCH 6/7] Implement get_buffer_ref_perms_string() and use it.

Michael Niedermayer michaelni
Tue Aug 24 13:26:14 CEST 2010


On Fri, Aug 20, 2010 at 06:02:51PM +0200, Stefano Sabatini wrote:
> On date Friday 2010-08-20 01:22:31 +0200, Michael Niedermayer encoded:
> > On Thu, Aug 19, 2010 at 06:38:27PM +0200, Stefano Sabatini wrote:
> > > ---
> > >  libavfilter/avfilter.c |   21 ++++++++++++++++++++-
> > >  1 files changed, 20 insertions(+), 1 deletions(-)
> > > 
> > > diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c
> > > index 3b94f14..a43bfbe 100644
> > > --- a/libavfilter/avfilter.c
> > > +++ b/libavfilter/avfilter.c
> > > @@ -191,6 +191,19 @@ int avfilter_config_links(AVFilterContext *filter)
> > >      return 0;
> > >  }
> > >  
> > > +#ifdef DEBUG
> > 
> > i dont like ifdefery
> 
> Updated.
> 
> BTW another idea is to use some fancy variant of dprintf:
> ff_lavfi_dprintf("get_video_buffer: %L perm:%P w:%d h:d\n", link, perms, h, w);
> 
> But maybe at this point is just better to use gdb pretty printing or
> etrace.
> 
> Regards.
> -- 
> FFmpeg = Fantastic and Fabulous Meaningful Plastic Esoteric Gymnast

>  avfilter.c |   20 +++++++++++++++++---
>  internal.h |    2 ++
>  2 files changed, 19 insertions(+), 3 deletions(-)
> 7930c383d2f6ddd9d936105242d69f75f1f9343e  0001-Implement-ff_get_ref_perms_string-and-use-it-for-tra.patch
> From 8f842bca455217e7e187279af661d0b5de4cd1b6 Mon Sep 17 00:00:00 2001
> From: Stefano Sabatini <stefano.sabatini-lala at poste.it>
> Date: Thu, 19 Aug 2010 15:58:24 +0200
> Subject: [PATCH] Implement ff_get_ref_perms_string() and use it for tracing.

ok

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Into a blind darkness they enter who follow after the Ignorance,
they as if into a greater darkness enter who devote themselves
to the Knowledge alone. -- Isha Upanishad
-------------- 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/20100824/fd2e4aa5/attachment.pgp>



More information about the ffmpeg-devel mailing list