[FFmpeg-devel] [PATCH] Add a new flag AVFMT_NETWORK
Peter Ross
pross
Mon Oct 11 17:52:24 CEST 2010
On Mon, Oct 11, 2010 at 04:54:26PM +0300, Martin Storsj? wrote:
> On Mon, 11 Oct 2010, Ronald S. Bultje wrote:
>
> > On Mon, Oct 11, 2010 at 9:26 AM, Martin Storsj? <martin at martin.st> wrote:
> > > By adding a flag AVFMT_NETWORK, we could move calling
> > > ff_network_init()/ff_network_close to common code in utils.c, instead of
> > > having to have this in the muxers/demuxers that use network functions
> > > before opening protocols.
> > (I'm not against this, in fact I think it's nice as a replacement for
> > "slow-seek" flag 'ish stuff that I've hacked in a couple of times when
> > required.)
>
> Hmm, I'm not sure if one should assume that they mean the same thing. As a
> somewhat crafted example, there could be a (de)muxer that needs to call
> network functions for some reason, but still reads mostly locally.
Can you provide an practical example of this.
-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20101012/67f7302f/attachment.pgp>
More information about the ffmpeg-devel
mailing list