Re: [FFmpeg-devel] [PATCH] Introduce avio_dump_contents() and use it in lavd/lavfi.c

2014-07-20 Thread Nicolas George
Le decadi 30 messidor, an CCXXII, Michael Niedermayer a écrit : > > +/** > > + * Read contents of h into print buffer up to EOF. > > + * > > + * @return 0 for success, error code otherwise > > + */ > > +int avio_dump_contents(AVIOContext *h, AVBPrint *pb); > not sure this is a good name, i think bp

Re: [FFmpeg-devel] [PATCH] Introduce avio_dump_contents() and use it in lavd/lavfi.c

2014-07-18 Thread Andrey Utkin
Thanks for comments, going to resubmit on Monday. -- Andrey Utkin ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH] Introduce avio_dump_contents() and use it in lavd/lavfi.c

2014-07-18 Thread Michael Niedermayer
On Thu, Jul 17, 2014 at 11:37:03PM +0300, Andrey Utkin wrote: > This is a replacement for previously proposed API > av_bprint_fd_contents(). > Side-effect: lavfi input device now accepts any URL as "graph_file" > option value. > --- > libavdevice/lavfi.c | 30 +++--- > li

[FFmpeg-devel] [PATCH] Introduce avio_dump_contents() and use it in lavd/lavfi.c

2014-07-17 Thread Andrey Utkin
This is a replacement for previously proposed API av_bprint_fd_contents(). Side-effect: lavfi input device now accepts any URL as "graph_file" option value. --- libavdevice/lavfi.c | 30 +++--- libavformat/avio.h| 8 libavformat/aviobuf.c | 16 ++