Mercurial > libdvdnav.hg
comparison dvdnav.c @ 24:870a0a1eee41 src
Re-implemented seeking.
author | jcdutton |
---|---|
date | Tue, 23 Apr 2002 02:12:58 +0000 |
parents | c2d40c38e12f |
children | df024077cbc1 |
comparison
equal
deleted
inserted
replaced
23:c2d40c38e12f | 24:870a0a1eee41 |
---|---|
750 pthread_mutex_unlock(&this->vm_lock); | 750 pthread_mutex_unlock(&this->vm_lock); |
751 return S_OK; | 751 return S_OK; |
752 } | 752 } |
753 /* FIXME: Don't really need "cell", we only need vobu_start */ | 753 /* FIXME: Don't really need "cell", we only need vobu_start */ |
754 if( (this->position_current.cell != this->position_next.cell) || | 754 if( (this->position_current.cell != this->position_next.cell) || |
755 (this->position_current.vobu_start != this->position_next.vobu_start) ) { | 755 (this->position_current.vobu_start != this->position_next.vobu_start) || |
756 (this->position_current.vobu_next != this->position_next.vobu_next) ) { | |
756 this->position_current.cell = this->position_next.cell; | 757 this->position_current.cell = this->position_next.cell; |
757 /* vobu_start changes when PGC or PG changes. */ | 758 /* vobu_start changes when PGC or PG changes. */ |
758 this->position_current.vobu_start = this->position_next.vobu_start; | 759 this->position_current.vobu_start = this->position_next.vobu_start; |
760 this->position_current.vobu_next = this->position_next.vobu_next; | |
759 /* FIXME: Need to set vobu_start, vobu_next */ | 761 /* FIXME: Need to set vobu_start, vobu_next */ |
760 this->vobu.vobu_start = this->position_next.vobu_start; | 762 this->vobu.vobu_start = this->position_next.vobu_start; |
761 /* vobu_next is use for mid cell resumes */ | 763 /* vobu_next is use for mid cell resumes */ |
762 this->vobu.vobu_next = this->position_next.vobu_next; | 764 this->vobu.vobu_next = this->position_next.vobu_next; |
763 //this->vobu.vobu_next = 0; | 765 //this->vobu.vobu_next = 0; |
788 /* FIXME: Need to set vobu_start, vobu_next */ | 790 /* FIXME: Need to set vobu_start, vobu_next */ |
789 this->position_current.still = 0; /* still gets activated at end of cell */ | 791 this->position_current.still = 0; /* still gets activated at end of cell */ |
790 this->skip_still = 0; | 792 this->skip_still = 0; |
791 this->position_current.cell = this->position_next.cell; | 793 this->position_current.cell = this->position_next.cell; |
792 this->position_current.vobu_start = this->position_next.vobu_start; | 794 this->position_current.vobu_start = this->position_next.vobu_start; |
795 this->position_current.vobu_next = this->position_next.vobu_next; | |
793 this->vobu.vobu_start = this->position_next.vobu_start; | 796 this->vobu.vobu_start = this->position_next.vobu_start; |
794 /* vobu_next is use for mid cell resumes */ | 797 /* vobu_next is use for mid cell resumes */ |
795 this->vobu.vobu_next = this->position_next.vobu_next; | 798 this->vobu.vobu_next = this->position_next.vobu_next; |
796 //this->vobu.vobu_next = 0; | 799 //this->vobu.vobu_next = 0; |
797 this->vobu.vobu_length = 0; | 800 this->vobu.vobu_length = 0; |
1007 return S_OK; | 1010 return S_OK; |
1008 } | 1011 } |
1009 | 1012 |
1010 /* | 1013 /* |
1011 * $Log$ | 1014 * $Log$ |
1015 * Revision 1.11 2002/04/23 02:12:27 jcdutton | |
1016 * Re-implemented seeking. | |
1017 * | |
1012 * Revision 1.10 2002/04/23 00:07:16 jcdutton | 1018 * Revision 1.10 2002/04/23 00:07:16 jcdutton |
1013 * Name stills work better. | 1019 * Name stills work better. |
1014 * | 1020 * |
1015 * Revision 1.9 2002/04/22 22:00:48 jcdutton | 1021 * Revision 1.9 2002/04/22 22:00:48 jcdutton |
1016 * Start of rewrite of libdvdnav. Still need to re-implement seeking. | 1022 * Start of rewrite of libdvdnav. Still need to re-implement seeking. |