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

Naohiro KORIYAMA nkoriyama at gmail.com
Mon Oct 10 20:08:38 CEST 2011


2011/10/11 Rémi Denis-Courmont <remi at remlab.net>:
> Le lundi 10 octobre 2011 21:00:00 Naohiro KORIYAMA, vous avez écrit :
>> 2011/10/11 Jean-Paul Saman <jpsaman at gmail.com>:
>> > 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.
>>
>> I changed STREAM_GET_POSITION, STREAM_GET_POSITION, STREAM_GET_LENGTH.
>
> STREAM_* or DEMUX_* ?
>
> STREAM_(S|G)ET_POSITION is supposed to be bytes.
> DEMUX_(S|G)ET_POSITION is supposed to be a ratio.

Oops. I changed DEMUX, not STREAM.


-- 
KORIYAMA, Naohiro
nkoriyama at gmail.com



More information about the vlc-devel mailing list