diff options
| author | Michael Roitzsch <mroi@users.sourceforge.net> | 2003-03-21 22:13:37 +0000 |
|---|---|---|
| committer | Michael Roitzsch <mroi@users.sourceforge.net> | 2003-03-21 22:13:37 +0000 |
| commit | ae83701d4b53dbd4b49ffade77d85f391aee5bed (patch) | |
| tree | 55db1c3ee746607f3b134731e6d7ab4fb74dc376 /src/input/libdvdnav/vm.h | |
| parent | cfed69ca942b61ae616b378d6209ca6b93ef7dd4 (diff) | |
| download | xine-lib-ae83701d4b53dbd4b49ffade77d85f391aee5bed.tar.gz xine-lib-ae83701d4b53dbd4b49ffade77d85f391aee5bed.tar.bz2 | |
sync to libdvdnav cvs
* method to try-run VM operations, now used for safer chapter skipping and menu jumps
* fixed detection of current PTT to not assume a 1:1 mapping between PTTs and PGs
* releasing stills when jumping to menu fixes some state inconsistencies
* do not assume PGs to be physically layed out in sequence on the disc
CVS patchset: 4466
CVS date: 2003/03/21 22:13:37
Diffstat (limited to 'src/input/libdvdnav/vm.h')
| -rw-r--r-- | src/input/libdvdnav/vm.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/input/libdvdnav/vm.h b/src/input/libdvdnav/vm.h index 9b1f0cfc8..ee5e4d16f 100644 --- a/src/input/libdvdnav/vm.h +++ b/src/input/libdvdnav/vm.h @@ -19,7 +19,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: vm.h,v 1.4 2003/02/20 16:02:01 mroi Exp $ + * $Id: vm.h,v 1.5 2003/03/21 22:13:39 mroi Exp $ * */ @@ -113,7 +113,7 @@ typedef struct { #define PTL_REG registers.SPRM[13] /* Initialisation & destruction */ -vm_t* vm_new_vm(); +vm_t *vm_new_vm(); void vm_free_vm(vm_t *vm); /* IFO access */ @@ -128,6 +128,11 @@ void vm_start(vm_t *vm); void vm_stop(vm_t *vm); int vm_reset(vm_t *vm, const char *dvdroot); +/* copying and merging - useful for try-running an operation */ +vm_t *vm_new_copy(vm_t *vm); +void vm_merge(vm_t *target, vm_t *source); +void vm_free_copy(vm_t *vm); + /* regular playback */ void vm_position_get(vm_t *vm, vm_position_t *position); void vm_get_next_cell(vm_t *vm); |
