[vlc-devel] [PATCH 01/11] MP4 demux: only set fragmented flag if filecontains movie fragment atoms.

Ilkka Ollakka ileoo at videolan.org
Fri Mar 7 06:25:55 CET 2014


On Thu, Mar 06, 2014 at 10:45:33PM +0100, Matthias Keiser wrote:

Hi,

> Am 06.03.2014 um 21:30 schrieb Jean-Baptiste Kempf <jb at videolan.org>:
> > On 06 Mar, Matthias Keiser wrote :
> >> +    //FIXME: relying on STREAM_CAN_FASTSEEK to decide if we can parse
> >> +    // a file is a bad heuristic, because local files are always
> >> +    // fast-seekable.

> > I still don't get your point.
> > If it is local, we can always parse it, no?

> My confusion described here still isn't cleared up: https://mailman.videolan.org/pipermail/vlc-devel/2014-February/096812.html
> But if you tell me it is ok, I'll of course remove the comment.

Actually that STREAM_CAN_FASTSEEK is there so vlc fallbacks to avformat
mp4 demuxer in case of http access, where our mp4 demuxer at the moment
did really lousy job for seeking all around and being slow in that
sense. So initially it was meant to opt-out flag for demuxing for slow
access where seek isn't that nice option (commit
45f7ca3d6cff34b10f2cf314c15fca9066e8ccf8).

-- 
Ilkka Ollakka
Your talents will be recognized and suitably rewarded.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: Digital signature
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20140307/12bd43dd/attachment.sig>


More information about the vlc-devel mailing list