From 8469c9d29a7b55f5f1e4cd3a46868a2aaf8a2da6 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Sun, 29 Oct 2006 19:39:39 +0000 Subject: - if the root menu isn't available, go to the title menu instead. Closes GNOME Bugzilla: http://bugzilla.gnome.org/show_bug.cgi?id=344592 CVS patchset: 8354 CVS date: 2006/10/29 19:39:39 --- src/input/input_dvd.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/input/input_dvd.c b/src/input/input_dvd.c index 1bd576dc3..26eb67e24 100644 --- a/src/input/input_dvd.c +++ b/src/input/input_dvd.c @@ -18,7 +18,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: input_dvd.c,v 1.210 2006/07/17 17:15:34 dsalt Exp $ + * $Id: input_dvd.c,v 1.211 2006/10/29 19:39:39 hadess Exp $ * */ @@ -999,7 +999,8 @@ static void dvd_handle_events(dvd_input_plugin_t *this) { break; case XINE_EVENT_INPUT_MENU3: xprintf(this->stream->xine, XINE_VERBOSITY_DEBUG, "input_dvd: MENU3 key hit.\n"); - dvdnav_menu_call(this->dvdnav, DVD_MENU_Root); + if (dvdnav_menu_call(this->dvdnav, DVD_MENU_Root) == DVDNAV_STATUS_ERR) + dvdnav_menu_call(this->dvdnav, DVD_MENU_Title); break; case XINE_EVENT_INPUT_MENU4: xprintf(this->stream->xine, XINE_VERBOSITY_DEBUG, "input_dvd: MENU4 key hit.\n"); -- cgit v1.2.3