[vlc-devel] Re: Add vlc-cvslog? Chapter/title and stream synchronizaton.

Derk-Jan Hartman d.hartman at student.utwente.nl
Sun Jul 20 23:28:45 CEST 2003

On zondag, jul 20, 2003, at 17:55 Europe/Amsterdam, rocky at panix.com 
> Wouldn't it be a little bit more develper friendly to separate CVSlog
> messages from the others? That way folks who don't want both could
> just unsubscribe to this other newsgroup, say vlc-cvslog. And folks 
> that
> wanted both could still do so. Right now I'm filtering these, but it
> sort of strikes me as there may be other developers out there who
> might appreciate these separated.

As a developer i think no one could live without the CVS commit logs. 
they contain the largest part of the information on the list. The rest 
is usually bugreports. Real discussion usually takes place on the IRC 
channel. http://www.videolan.org/cgi-bin/irc/irc.cgi

I don't think the activity of vlc-devel has much reason to live without 
the IRC commits and therefore i see no reason to split it. However if 
there are many people who would like this split, then i don't object.

<cut stuff i don't know about>

> If it is set b_seekable to 1 then the video doesn't display. And using
> the Chapter buttons or menu causes the stream to start at the
> beginning without doing any seeking. The area variables that seem
> relevant in p_input->stream.p_selected_area are
>   i_tell: tells where the program thinks it is in the stream
>    this is a byte offset from i_start, right?

Correct i think.

> It's also used by the slider, right?

For instance on the OSX slider which ranges from 0 to 10.000 i use:
float f_updated = ( 10000. * p_area->i_tell ) / p_area->i_size;

Or for the time field (psz_time is the destination).
input_OffsetToTime( p_input, psz_time, p_area->i_tell );

>   i_part: is this used in the display to indicate which "Chapter" we
>   are in?

p_area->i_part is the current part ( Chapter) p_area->i_part_nb the 
total amount of parts.

p_area->i_id is the id of that area. p_input->stream.i_area_nb the 
total amount of areas.
p_input_stream.p_selected_area the current area.


Videolan - VLC media player
Derk-Jan Hartman (thedj at users.sourceforge.net)
Co-Developer of the MacOS X port of vlc

This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>

More information about the vlc-devel mailing list