[vlc-devel] [PATCH] HttpLive stream_filter: alternative version of ChooseSegment function
remi at remlab.net
Mon Mar 12 20:05:37 CET 2012
Le lundi 12 mars 2012 20:56:58 Łukasz Korbel, vous avez écrit :
> >> > I made modification as we talked:
> >> Sorry, but why not taking the existing core start-time option?
> > It won't play nice when the input core tries to seek to start-time too.
> I'm not VLC expert, so maybe you can give me some hint.
> In current version setting start-time doesn't cause stream seeking at all.
Upon non-zero start-time, the input core will ask the demuxer to (time-)seek.
Either the TS demuxer is unable to seek HLS streams, or HLS streams are not
(byte-)seekable. But they probably should be to some extent. Whenever this
limitation is addressed, your patch will introduce a silent regression.
I am not necessarily against reusing start-time. It has a clear usability
benefit. But then something needs to ensure that there won't be an undetected
bug later. I don't see any guard in the current patch.
More information about the vlc-devel