[libbluray-devel] index: add enums for title access type

hpi1 git at videolan.org
Sat Mar 8 10:34:56 CET 2014


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Thu Mar  6 14:53:00 2014 +0200| [6a2b02c75894f9050b1201460e43ac82bebf9a9f] | committer: hpi1

index: add enums for title access type

> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=6a2b02c75894f9050b1201460e43ac82bebf9a9f
---

 src/libbluray/bdnav/index_parse.h |    9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/src/libbluray/bdnav/index_parse.h b/src/libbluray/bdnav/index_parse.h
index ddc68b9..e32cf14 100644
--- a/src/libbluray/bdnav/index_parse.h
+++ b/src/libbluray/bdnav/index_parse.h
@@ -61,6 +61,15 @@ typedef enum {
     indx_bdj_playback_type_interactive = 3,
 } indx_bdj_playback_type;
 
+typedef enum {
+    indx_access_permitted       = 0,  /* jump into this title is permitted.  title number may be shown on UI.  */
+    indx_access_prohibited      = 1,  /* jump into this title is prohibited. title number may be shown on UI. */
+    indx_access_hidden          = 3,  /* jump into this title is prohibited. title number shall not be shown on UI. */
+} indx_access_type;
+
+#define  INDX_ACCESS_PROHIBITED_MASK  0x01  /* if set, jump to this title is not allowed */
+#define  INDX_ACCESS_HIDDEN_MASK      0x02  /* if set, title number shall not be displayed on UI */
+
 typedef struct {
     unsigned int       initial_output_mode_preference : 1; /* 0 - 2D, 1 - 3D */
     unsigned int       content_exist_flag : 1;



More information about the libbluray-devel mailing list