On Thu, Mar 31, 2011 at 06:33:46PM +0200, Jindřich Makovička wrote:
> 2011/3/31 Ronald S. Bultje <rsbul...@gmail.com>:
> > Hi,
> >
> > 2011/3/31 Jindřich Makovička <makov...@gmail.com>:
> >> Hi,
> >>
> >> is there an official way to access the underlying URL context from a
> >> user app which obtained an AVFormatContext using av_open_input_file()
> >> ? I used this to control some aspects of my custom URLContexts on the
> >> fly, which is a bit hackish, but it works so far.
> >>
> >> Will you keep af_ctx->pb->opaque available for such (ab)use, or is
> >> there some other preffered way?
> >
> > We prefer no hacks. What exactly are you trying to accomplish?
> 
> Basically, this is a source/sink interfacing a remote storage
> containing chunks of data. It either retrieves the chunks and joins
> them into a stream, of cuts the stream into chunks and sends them. I
> need to be able to get information on which chunk was read/written
> last, how long it was, or control when the chunks are cut exactly,
> whether the chunks are actually sent into the storage etc.

Wouldn't you be better off using a custom AVIOContext then?

-- 
Anton Khirnov

Attachment: signature.asc
Description: Digital signature

_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to