[libbluray-devel] mpls_data: add enum for sub path types

hpi1 git at videolan.org
Thu May 11 17:05:47 CEST 2017


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Thu May 11 11:57:58 2017 +0300| [526178b54ea0c58bad5bb754e6ff66237ef650c0] | committer: hpi1

mpls_data: add enum for sub path types

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

 src/libbluray/bdnav/mpls_data.h | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/src/libbluray/bdnav/mpls_data.h b/src/libbluray/bdnav/mpls_data.h
index 1c30f179..f148d513 100644
--- a/src/libbluray/bdnav/mpls_data.h
+++ b/src/libbluray/bdnav/mpls_data.h
@@ -121,9 +121,19 @@ typedef struct
     MPLS_CLIP       *clip;
 } MPLS_SUB_PI;
 
+typedef enum {
+  //mpls_sub_path_        = 2,  /* Primary audio of the Browsable slideshow */
+  mpls_sub_path_ig_menu   = 3,  /* Interactive Graphics presentation menu */
+  mpls_sub_path_textst    = 4,  /* Text Subtitle */
+  //mpls_sub_path_        = 5,  /* Out-of-mux Synchronous elementary streams */
+  mpls_sub_path_async_pip = 6,  /* Out-of-mux Asynchronous Picture-in-Picture presentation */
+  mpls_sub_path_sync_pip  = 7,  /* In-mux Synchronous Picture-in-Picture presentation */
+  mpls_sub_path_ss_viseo  = 8,  /* SS Video */
+} mpls_sub_path_type;
+
 typedef struct
 {
-    uint8_t         type;
+    uint8_t         type;       /* enum mpls_sub_path_type */
     uint8_t         is_repeat;
     uint8_t         sub_playitem_count;
     MPLS_SUB_PI     *sub_play_item;



More information about the libbluray-devel mailing list