diff options
Diffstat (limited to 'libhb')
-rw-r--r-- | libhb/bd.c | 3 | ||||
-rw-r--r-- | libhb/common.c | 1 | ||||
-rw-r--r-- | libhb/common.h | 1 |
3 files changed, 4 insertions, 1 deletions
diff --git a/libhb/bd.c b/libhb/bd.c index d61e5217a..b0a2ff39b 100644 --- a/libhb/bd.c +++ b/libhb/bd.c @@ -207,7 +207,8 @@ hb_title_t * hb_bd_title_scan( hb_bd_t * d, int tt, uint64_t min_duration ) goto fail; } - hb_deep_log( 2, "bd: playlist %05d.MPLS", ti->playlist); + hb_log( "bd: playlist %05d.MPLS", ti->playlist ); + title->playlist = ti->playlist; uint64_t pkt_count = 0; for ( ii = 0; ii < ti->clip_count; ii++ ) diff --git a/libhb/common.c b/libhb/common.c index 5cd2867df..db2fac551 100644 --- a/libhb/common.c +++ b/libhb/common.c @@ -1049,6 +1049,7 @@ hb_title_t * hb_title_init( char * path, int index ) t = calloc( sizeof( hb_title_t ), 1 ); t->index = index; + t->playlist = -1; t->list_audio = hb_list_init(); t->list_chapter = hb_list_init(); t->list_subtitle = hb_list_init(); diff --git a/libhb/common.h b/libhb/common.h index a042c25fa..d36fd9b9f 100644 --- a/libhb/common.h +++ b/libhb/common.h @@ -594,6 +594,7 @@ struct hb_title_s char path[1024]; char name[1024]; int index; + int playlist; int vts; int ttn; int cell_start; |