comparison dvdnav.c @ 106:e984044bbe7b src

port Stephen's comment fixing to avoid problems when syncing xine-lib's copy of libdvdnav
author mroi
date Wed, 23 Oct 2002 11:38:09 +0000
parents a767842bc447
children b6834e6359cf
comparison
equal deleted inserted replaced
105:0a0a749038ff 106:e984044bbe7b
792 this->vm->state.pgN, 792 this->vm->state.pgN,
793 this->vobu.vobu_start, this->vobu.vobu_next); 793 this->vobu.vobu_start, this->vobu.vobu_next);
794 } 794 }
795 795
796 796
797 //result = DVDReadBlocks(this->file, this->vobu.vobu_start + this->vobu.vobu_next, 1, buf); 797 /* result = DVDReadBlocks(this->file, this->vobu.vobu_start + this->vobu.vobu_next, 1, buf); */
798 result = dvdnav_read_cache_block(this->cache, this->vobu.vobu_start + this->vobu.vobu_next, 1, buf); 798 result = dvdnav_read_cache_block(this->cache, this->vobu.vobu_start + this->vobu.vobu_next, 1, buf);
799 799
800 if(result <= 0) { 800 if(result <= 0) {
801 printerr("Error reading NAV packet."); 801 printerr("Error reading NAV packet.");
802 pthread_mutex_unlock(&this->vm_lock); 802 pthread_mutex_unlock(&this->vm_lock);
1008 return this->position_next.still; 1008 return this->position_next.still;
1009 } 1009 }
1010 1010
1011 /* 1011 /*
1012 * $Log$ 1012 * $Log$
1013 * Revision 1.39 2002/10/23 11:38:09 mroi
1014 * port Stephen's comment fixing to avoid problems when syncing xine-lib's copy of
1015 * libdvdnav
1016 *
1013 * Revision 1.38 2002/09/19 04:48:28 jcdutton 1017 * Revision 1.38 2002/09/19 04:48:28 jcdutton
1014 * Update version info. 1018 * Update version info.
1015 * The "note2" bit if to help developers know which version of libdvdnav the user is using. 1019 * The "note2" bit if to help developers know which version of libdvdnav the user is using.
1016 * 1020 *
1017 * Revision 1.37 2002/09/18 14:26:42 mroi 1021 * Revision 1.37 2002/09/18 14:26:42 mroi