#include <vlc_plugin.h>
#include <vlc_access.h>
#include <vlc_fs.h>
+#include <vlc_url.h>
#include <sys/types.h>
#include <fcntl.h>
p_sys->i_input = var_CreateGetInteger( p_access, "pvr-channel" );
/* parse command line options */
- psz_tofree = strdup( p_access->psz_path );
+ psz_tofree = strdup( p_access->psz_location );
if( !psz_tofree )
{
free( p_sys->psz_radiodev );
if( *psz_parser == '/' )
{
free( p_sys->psz_videodev );
- p_sys->psz_videodev = strdup( psz_parser );
+ p_sys->psz_videodev = decode_URI_duplicate( psz_parser );
break;
}