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

Stefano Sabatini stefano.sabatini-lala
Tue Aug 24 11:14:57 CEST 2010


On date Friday 2010-08-20 18:02:51 +0200, Stefano Sabatini encoded:
> 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.

Ping.
-- 
FFmpeg = Fanciful and Formidable Mastering Portable Extroverse Gospel



More information about the ffmpeg-devel mailing list