[vlc-commits] macosx: fixed represented file indicator in the vout	window
    Felix Paul Kühne 
    git at videolan.org
       
    Sun May  1 01:00:55 CEST 2011
    
    
  
vlc/vlc-1.1 | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Sun May  1 01:00:51 2011 +0200| [8d38f396f32ab858a0ed3e0d945d147aca084a34] | committer: Felix Paul Kühne
macosx: fixed represented file indicator in the vout window
> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=8d38f396f32ab858a0ed3e0d945d147aca084a34
---
 modules/gui/macosx/vout.m |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/modules/gui/macosx/vout.m b/modules/gui/macosx/vout.m
index 9466626..332343f 100644
--- a/modules/gui/macosx/vout.m
+++ b/modules/gui/macosx/vout.m
@@ -52,6 +52,7 @@
 
 #include <vlc_common.h>
 #include <vlc_keys.h>
+#include <vlc_url.h>
 
 /*****************************************************************************
  * DeviceCallback: Callback triggered when the video-device variable is changed
@@ -300,7 +301,7 @@ int DeviceCallback( vlc_object_t *p_this, const char *psz_variable,
     if( psz_title )
         o_title = [NSString stringWithUTF8String: psz_title];
 
-    char *psz_uri = input_item_GetURI( p_item );
+    char *psz_uri = decode_URI( input_item_GetURI( p_item ) );
     if( psz_uri )
         o_mrl = [NSMutableString stringWithUTF8String: psz_uri];
 
    
    
More information about the vlc-commits
mailing list