[Ffmpeg-devel] Re: [PATCH] file length handling

Michael Niedermayer michaelni
Fri Dec 29 21:58:00 CET 2006


Hi

On Wed, Dec 27, 2006 at 08:11:39PM -0500, Ronald S. Bultje wrote:
> Hi Michael,
> 
> On Wed, 2006-12-27, Michael Niedermayer wrote:
> > in principle whichever needs less changes, but theres yet another problem,
> > the AVFrac removial patch has been found to not work by baptiste -> no 
> > guranteed big compatibility break anytime soon -> the addition of filesize
> > or a pointer would be delayed by an unpredictable amount of time
> > 
> > maybe simply adding slow http support into svn and then thinking about
> > improving its speed by avoiding the filesize finding seeks after that
> > would be better?
> 
> It would be, if it wasn't for the fact that we may know the filesize
> when seeking is not possible (and demuxers can thus not deduce the
> filesize by "seeking" to the end). I still think returning success on
> seek only for end,-1 and back to the current position is too much of a
> hack and I'm pretty sure you would agree (please say yes here :-) ).
> 
> I don't mind if file_size is not available for a while (until whenever
> is the next time that ABI is broken) on such streams, but it should be,
> eventually. Adding file_size really is the right thing to do, imo.

if the patch which adds file_size + a function pointer for ByteIOContext
is small then ive no objections if its large i do have objections ...

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Good people do not need laws to tell them to act responsibly, while bad
people will find a way around the laws. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20061229/180d8b08/attachment.pgp>



More information about the ffmpeg-devel mailing list