Mercurial > libdvdnav.hg
diff dvdnav.c @ 24:870a0a1eee41 src
Re-implemented seeking.
author | jcdutton |
---|---|
date | Tue, 23 Apr 2002 02:12:58 +0000 |
parents | c2d40c38e12f |
children | df024077cbc1 |
line wrap: on
line diff
--- a/dvdnav.c Tue Apr 23 00:07:16 2002 +0000 +++ b/dvdnav.c Tue Apr 23 02:12:58 2002 +0000 @@ -752,10 +752,12 @@ } /* FIXME: Don't really need "cell", we only need vobu_start */ if( (this->position_current.cell != this->position_next.cell) || - (this->position_current.vobu_start != this->position_next.vobu_start) ) { + (this->position_current.vobu_start != this->position_next.vobu_start) || + (this->position_current.vobu_next != this->position_next.vobu_next) ) { this->position_current.cell = this->position_next.cell; /* vobu_start changes when PGC or PG changes. */ this->position_current.vobu_start = this->position_next.vobu_start; + this->position_current.vobu_next = this->position_next.vobu_next; /* FIXME: Need to set vobu_start, vobu_next */ this->vobu.vobu_start = this->position_next.vobu_start; /* vobu_next is use for mid cell resumes */ @@ -790,6 +792,7 @@ this->skip_still = 0; this->position_current.cell = this->position_next.cell; this->position_current.vobu_start = this->position_next.vobu_start; + this->position_current.vobu_next = this->position_next.vobu_next; this->vobu.vobu_start = this->position_next.vobu_start; /* vobu_next is use for mid cell resumes */ this->vobu.vobu_next = this->position_next.vobu_next; @@ -1009,6 +1012,9 @@ /* * $Log$ + * Revision 1.11 2002/04/23 02:12:27 jcdutton + * Re-implemented seeking. + * * Revision 1.10 2002/04/23 00:07:16 jcdutton * Name stills work better. *