comparison dvdnav.c @ 67:61c0ee1bbb7a src

Moved get_current_nav_pci into dvdnac.c, changed example to use it instead of 'home-rolled' check_packet.
author richwareham
date Thu, 25 Jul 2002 14:51:40 +0000
parents 2bd4a78eefce
children a23d50ba81d3
comparison
equal deleted inserted replaced
66:2bd4a78eefce 67:61c0ee1bbb7a
974 } 974 }
975 *current_angle=this->position_next.cell; 975 *current_angle=this->position_next.cell;
976 return S_OK; 976 return S_OK;
977 } 977 }
978 978
979 pci_t* dvdnav_get_current_nav_pci(dvdnav_t *this) {
980 if(!this || !this->vm) return 0;
981 return &this->pci;
982 }
983
979 dsi_t* dvdnav_get_current_nav_dsi(dvdnav_t *this) { 984 dsi_t* dvdnav_get_current_nav_dsi(dvdnav_t *this) {
980 if(!this || !this->vm) return 0; 985 if(!this || !this->vm) return 0;
981 return &this->dsi; 986 return &this->dsi;
982 } 987 }
983 988
988 return this->position_next.still; 993 return this->position_next.still;
989 } 994 }
990 995
991 /* 996 /*
992 * $Log$ 997 * $Log$
998 * Revision 1.29 2002/07/25 14:51:40 richwareham
999 * Moved get_current_nav_pci into dvdnac.c, changed example to use it instead of 'home-rolled'
1000 * check_packet.
1001 *
993 * Revision 1.28 2002/07/25 14:42:33 richwareham 1002 * Revision 1.28 2002/07/25 14:42:33 richwareham
994 * Patch from aschultz@cs.uni-magdeburg.de to allow for still-frame 'peek-ahead' 1003 * Patch from aschultz@cs.uni-magdeburg.de to allow for still-frame 'peek-ahead'
995 * 1004 *
996 * Revision 1.27 2002/07/12 15:46:44 mroi 1005 * Revision 1.27 2002/07/12 15:46:44 mroi
997 * use new memcopy'less read ahead cache 1006 * use new memcopy'less read ahead cache