[FFmpeg-devel] [PATCH] add alloc_put_byte function
Thu Dec 20 09:50:56 CET 2007
On Wed, Dec 19, 2007 at 10:48:50PM +0100, Michael Niedermayer wrote:
> On Wed, Dec 19, 2007 at 07:47:45PM +0100, Reimar D?ffinger wrote:
> > since applications should not assume ByteIOContext to have a constant
> > size, attached patch adds a alloc_put_byte function.
> > It is almost the same as init_put_byte, but it also takes a
> > streamed_flag parameter - this seems the only missing option the user
> > has a reason to set and it's exactly what I need, so like this
> What about read_pause / read_seek ?
> Some things like MMS do not support seeking per positon AFAIK, and seeking
> per timestamp needs read_seek()
> Iam just curious, dont you consider that needed/usefull as well?
> Same for the ability to pause (tell the server not to send more packets)
After aurel's patch I think it might be better to have this alloc
function accept the same things a init, and have a set_is_streamed and a
set_streaming_functions or so functions to set the other things.
More information about the ffmpeg-devel