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 +++++++++++++++--------------- > libavformat/avio.h | 8 ++++++++ > libavformat/aviobuf.c | 16 ++++++++++++++++ > 3 files changed, 39 insertions(+), 15 deletions(-)
needs minor bump for avformat and APIChanges update also should be split in 2 patches, one for adding the API and one for extending what graph_file can be used with [...] > @@ -500,4 +501,11 @@ int avio_pause(AVIOContext *h, int pause); > int64_t avio_seek_time(AVIOContext *h, int stream_index, > int64_t timestamp, int flags); > > +/** > + * 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 bprint should be in there somewhere, maybe nicolas has an idea/suggestion [..] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Breaking DRM is a little like attempting to break through a door even though the window is wide open and the only thing in the house is a bunch of things you dont want and which you would get tomorrow for free anyway
signature.asc
Description: Digital signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel