Commit 2b8ade38 authored by Gildas Bazin's avatar Gildas Bazin

* modules/access/dvdnav.c: small fix.

parent 74e0ebb8
......@@ -259,7 +259,7 @@ static int Open( vlc_object_t *p_this )
var_Create( p_demux, "dvdnav-menu", VLC_VAR_BOOL|VLC_VAR_DOINHERIT );
var_Get( p_demux, "dvdnav-menu", &val );
if( i_title == 0 || val.b_bool )
if( (i_title < 0 && val.b_bool) || i_title == 0 )
{
msg_Dbg( p_demux, "trying to go to dvd menu" );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment