Mercurial > libdvdnav.hg
changeset 151:6439d00b1363 src
fill in new timing member in cell_change event
author | mroi |
---|---|
date | Fri, 04 Apr 2003 14:21:32 +0000 |
parents | 593b267a963a |
children | 3a1659f4a6c3 |
files | dvdnav.c |
diffstat | 1 files changed, 8 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/dvdnav.c Fri Apr 04 14:21:00 2003 +0000 +++ b/dvdnav.c Fri Apr 04 14:21:32 2003 +0000 @@ -605,6 +605,11 @@ cell_event->pg_length += dvdnav_convert_time(&state->pgc->cell_playback[i - 1].playback_time); cell_event->pgc_length = dvdnav_convert_time(&state->pgc->playback_time); + + cell_event->cell_start = 0; + for (i = 1; i < state->cellN; i++) + cell_event->cell_start += + dvdnav_convert_time(&state->pgc->cell_playback[i - 1].playback_time); this->position_current.cell = this->position_next.cell; this->position_current.cell_restart = this->position_next.cell_restart; @@ -1079,6 +1084,9 @@ /* * $Log$ + * Revision 1.51 2003/04/04 14:21:32 mroi + * fill in new timing member in cell_change event + * * Revision 1.50 2003/04/01 11:30:56 mroi * merge James fixes from xine-lib cvs back into libdvdnav cvs so they will not be lost * on syncing