mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 18:05:37 +00:00
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:
parent
86d908589c
commit
9f01bd6434
1 changed files with 1 additions and 11 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue