summaryrefslogtreecommitdiffstats
path: root/libhb
diff options
context:
space:
mode:
authorRodeo <[email protected]>2011-08-16 15:45:41 +0000
committerRodeo <[email protected]>2011-08-16 15:45:41 +0000
commit1bd57899117e7b796d95cade71520dc87984a197 (patch)
treee07b7b5983af101897c3f1d5f18e727bd573ca76 /libhb
parent356f4d167d59fb486541c280867f1b27a7d05690 (diff)
Blu-ray: display playlist number in log, CLI scan output, and title drop-down.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4182 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb')
-rw-r--r--libhb/bd.c3
-rw-r--r--libhb/common.c1
-rw-r--r--libhb/common.h1
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;