Mercurial > libdvdnav.hg
diff vm.h @ 157:7094c8661c05 src
Return details about menu number in dvdnav_current_title_info()
If title = 0, we are in menu, and part gives us what menu number.
If title > 0, we are in a title.
author | jcdutton |
---|---|
date | Sun, 06 Apr 2003 10:59:28 +0000 |
parents | 5897ff629f7c |
children | 0fd70a257b44 |
line wrap: on
line diff
--- a/vm.h Sat Apr 05 21:23:02 2003 +0000 +++ b/vm.h Sun Apr 06 10:59:28 2003 +0000 @@ -47,6 +47,7 @@ domain_t domain; int vtsN; /* 0 is vmgm? */ pgc_t *pgc; /* either this or 'int pgcN' is enough? */ + int pgcN; /* but provide pgcN for quick lookup */ int pgN; /* is this needed? can allways fid pgN from cellN? */ int cellN; int32_t cell_restart; /* get cell to restart */ @@ -151,6 +152,7 @@ int vm_exec_cmd(vm_t *vm, vm_cmd_t *cmd); /* getting information */ +int vm_get_current_menu(vm_t *vm, int *menuid); int vm_get_current_title_part(vm_t *vm, int *title_result, int *part_result); int vm_get_audio_stream(vm_t *vm, int audioN); int vm_get_subp_stream(vm_t *vm, int subpN, int mode);