Author: nicodvb Date: Sun Apr 29 22:20:42 2007 New Revision: 929 Log: in dvdnav_sector_search() when playing multiangle titles skip cells not corresponding to BLOCK_MODE_FIRST_CELL Modified: trunk/libdvdnav/src/searching.c Modified: trunk/libdvdnav/src/searching.c ============================================================================== --- trunk/libdvdnav/src/searching.c (original) +++ trunk/libdvdnav/src/searching.c Sun Apr 29 22:20:42 2007 @@ -274,6 +274,8 @@ dvdnav_status_t dvdnav_sector_search(dvd 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 = cell->last_sector - cell->first_sector + 1; if (target >= length) { target -= length;
participants (1)
-
nicodvb