On Tue, Sep 10, 2013 at 12:46 PM, Hendrik Leppkes <[email protected]>wrote:

> On Tue, Sep 10, 2013 at 11:43 AM, aviad rozenhek <[email protected]>
> wrote:
>
> > URLProtocol is very useful for users of libav, as it allows extending
> > ffmpeg by defining I/O for new types of devices, memory buffers or
> > protocols without needing to modify libav itself.
> > would it be possible to make URLProtocol available to application
> > developers again?
> >
> >
> You can define read/write/seek functions in a avio context, no need to
> implement it as a protocol.
>
>
all the working examples in libav are based on protocols, except memory
buffers implemented in AVIO.
protocols also useful for defining new urls which avformat_open will use
automatically like myprotocol://stuff
protocols are useful and needed. why hide them?


-- 
Aviad Rozenhek
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to