summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@users.sourceforge.net>2006-10-29 19:39:39 +0000
committerBastien Nocera <hadess@users.sourceforge.net>2006-10-29 19:39:39 +0000
commit8469c9d29a7b55f5f1e4cd3a46868a2aaf8a2da6 (patch)
tree62d0d2a30e199670eccadf17d51e049dece5f543
parent11a47d7c71e911207ef90d337de11393bcd5d38a (diff)
downloadxine-lib-8469c9d29a7b55f5f1e4cd3a46868a2aaf8a2da6.tar.gz
xine-lib-8469c9d29a7b55f5f1e4cd3a46868a2aaf8a2da6.tar.bz2
- 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
-rw-r--r--src/input/input_dvd.c5
1 files 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");