Commit 9be49a57 authored by Ilkka Ollakka's avatar Ilkka Ollakka

dvdnav: use decoded path

parent 92fb098b
...@@ -37,6 +37,7 @@ ...@@ -37,6 +37,7 @@
#include <vlc_demux.h> #include <vlc_demux.h>
#include <vlc_charset.h> #include <vlc_charset.h>
#include <vlc_fs.h> #include <vlc_fs.h>
#include <vlc_url.h>
#include <vlc_dialog.h> #include <vlc_dialog.h>
...@@ -203,6 +204,7 @@ static int Open( vlc_object_t *p_this ) ...@@ -203,6 +204,7 @@ static int Open( vlc_object_t *p_this )
*(psz_name + strlen(psz_name) - 1) = '\0'; *(psz_name + strlen(psz_name) - 1) = '\0';
} }
#endif #endif
decode_URI( psz_name );
/* Try some simple probing to avoid going through dvdnav_open too often */ /* Try some simple probing to avoid going through dvdnav_open too often */
if( ProbeDVD( p_demux, psz_name ) != VLC_SUCCESS ) if( ProbeDVD( p_demux, psz_name ) != VLC_SUCCESS )
......
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