summaryrefslogtreecommitdiffstats
path: root/gtk/src
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 /gtk/src
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 'gtk/src')
-rw-r--r--gtk/src/hb-backend.c18
1 files changed, 16 insertions, 2 deletions
diff --git a/gtk/src/hb-backend.c b/gtk/src/hb-backend.c
index 6a6e29a27..f5c3b1046 100644
--- a/gtk/src/hb-backend.c
+++ b/gtk/src/hb-backend.c
@@ -1946,16 +1946,30 @@ title_opts_set(GtkBuilder *builder, const gchar *name)
g_free(tmp);
}
}
+ else if (title->type == HB_BD_TYPE)
+ {
+ if (title->duration != 0)
+ {
+ titles[ii] = g_strdup_printf("%d (%05d.MPLS) - %02dh%02dm%02ds",
+ title->index, title->playlist, title->hours,
+ title->minutes, title->seconds);
+ }
+ else
+ {
+ titles[ii] = g_strdup_printf("%d (%05d.MPLS) - Unknown Length",
+ title->index, title->playlist);
+ }
+ }
else
{
if (title->duration != 0)
{
- titles[ii] = g_strdup_printf ("%d - %02dh%02dm%02ds",
+ titles[ii] = g_strdup_printf("%d - %02dh%02dm%02ds",
title->index, title->hours, title->minutes, title->seconds);
}
else
{
- titles[ii] = g_strdup_printf ("%d - Unknown Length",
+ titles[ii] = g_strdup_printf("%d - Unknown Length",
title->index);
}
}