Mercurial > libdvdnav.hg
changeset 270:5d091ebc4c3b src
in dvdnav_time_search() skip secondary angles when searching the cell to hump to
author | nicodvb |
---|---|
date | Mon, 09 Apr 2007 09:56:41 +0000 |
parents | 77e472cef5f8 |
children | 814e79060099 |
files | searching.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/searching.c Sun Apr 08 17:45:19 2007 +0000 +++ b/searching.c Mon Apr 09 09:56:41 2007 +0000 @@ -139,6 +139,8 @@ found = 0; for(cell_nr = first_cell_nr; (cell_nr <= last_cell_nr) && !found; cell_nr ++) { cell = &(state->pgc->cell_playback[cell_nr-1]); + if(cell->block_type == BLOCK_TYPE_ANGLE_BLOCK && cell->block_mode != BLOCK_MODE_FIRST_CELL) + continue; length = dvdnav_convert_time(&cell->playback_time); if (target >= length) { target -= length;