diff options
author | Jan Schmidt <thaytan@noraisin.net> | 2009-05-08 14:23:48 +0100 |
---|---|---|
committer | Jan Schmidt <thaytan@noraisin.net> | 2009-05-11 17:04:07 +0100 |
commit | 9f01bd64349cc14c25991cea5e054f286ab732bf (patch) | |
tree | 5e2b9617f2e3701e492be66bd0acce0bf593f33b /ext | |
parent | 86d908589c4ef2d715e4f015c2455a19de322a51 (diff) | |
download | gst-plugins-bad-9f01bd64349cc14c25991cea5e054f286ab732bf.tar.gz gst-plugins-bad-9f01bd64349cc14c25991cea5e054f286ab732bf.tar.bz2 gst-plugins-bad-9f01bd64349cc14c25991cea5e054f286ab732bf.zip |
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.
Diffstat (limited to 'ext')
-rw-r--r-- | ext/resindvd/resindvdsrc.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/ext/resindvd/resindvdsrc.c b/ext/resindvd/resindvdsrc.c index b95e5c4a..7b6a7415 100644 --- a/ext/resindvd/resindvdsrc.c +++ b/ext/resindvd/resindvdsrc.c @@ -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) { |