[vlc-devel] [vlc-commits] TS demux: Enhance TS demuxer to support duration and current time

Jean-Paul Saman jpsaman at gmail.com
Mon Oct 10 17:22:09 CEST 2011


On Sat, Oct 8, 2011 at 8:12 PM, Naohiro KORIYAMA <git at videolan.org> wrote:
> vlc | branch: master | Naohiro KORIYAMA <nkoriyama at gmail.com> | Fri Oct  7 01:39:31 2011 +0900| [cb5f74d6b3c9bbf35493ebc5d0b561bfaba9d7f1] | committer: Laurent Aimar
>
> TS demux: Enhance TS demuxer to support duration and current time
>
> It closes #2985.

This commit breaks VOD playback for HTTP Live Streaming in
modules/stream_filters/httplive.c
It makes HTTP Live Streaming download almost the entire movie, while
1-3 segments should be more then enough.

I guess the cause is that the semantics changed of STREAM_GET_SIZE,
STREAM_GET_POSITION and STREAM_SET_POSITION.
What are the semantics for there now? I thought they were in bytes,
but seems to be no longer true.

Test stream is here:
http://qthttp.apple.com.edgesuite.net/11piuhbvdlbkvoih10c/sl_vod_mvp.m3u8

>> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=cb5f74d6b3c9bbf35493ebc5d0b561bfaba9d7f1
> ---
>
>  modules/demux/ts.c |  516 ++++++++++++++++++++++++++++++++++++++++++---------
>  1 files changed, 425 insertions(+), 91 deletions(-)
>
> Diff:   http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=cb5f74d6b3c9bbf35493ebc5d0b561bfaba9d7f1
> _______________________________________________
> vlc-commits mailing list
> vlc-commits at videolan.org
> http://mailman.videolan.org/listinfo/vlc-commits

Kind regards,

Jean-Paul Saman



More information about the vlc-devel mailing list