resindvd: Remove per-menu description from the TITLE tag

The part number reported while in a menu doesn't reflect the selected
menu, so it's pointless to use it to report which menu we're in (Audio,
Angle etc). Just report "DVD Menu" in the title tag instead.
This commit is contained in:
Jan Schmidt 2009-05-08 14:23:48 +01:00
parent 86d908589c
commit 9f01bd6434

View file

@ -778,18 +778,8 @@ update_title_info (resinDvdSrc * src)
src->cur_angle = cur_agl;
if (title_n == 0) {
static const char *dvd_menu_map[] = {
NULL, NULL, "Title", "Root",
"Subpicture", "Audio", "Angle", "Part"
};
/* In a menu */
if (part_n >= 0 && part_n < G_N_ELEMENTS (dvd_menu_map)
&& dvd_menu_map[part_n]) {
title_str = g_strdup_printf ("DVD %s Menu", dvd_menu_map[part_n]);
} else {
title_str = g_strdup ("DVD Menu");
}
title_str = g_strdup ("DVD Menu");
} else {
/* In a title */
if (n_angles > 1) {