[vlc-devel] [PATCH] macosx: str_format_meta(): take playlist as parameter directly

Sebastien Zwickert dilaroga at gmail.com
Wed Aug 22 01:46:12 CEST 2012


---
 modules/gui/macosx/MainWindow.m |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/gui/macosx/MainWindow.m b/modules/gui/macosx/MainWindow.m
index 0f59ca6..f2d0afc 100644
--- a/modules/gui/macosx/MainWindow.m
+++ b/modules/gui/macosx/MainWindow.m
@@ -1564,7 +1564,7 @@ static VLCMainWindow *_o_sharedInstance = nil;
     {
         NSString *aString;
         char *format = var_InheritString( VLCIntf, "input-title-format" );
-        char *formated = str_format_meta( p_input, format );
+        char *formated = str_format_meta( pl_Get( VLCIntf ), format );
         free( format );
         aString = [NSString stringWithUTF8String:formated];
         free( formated );
-- 
1.7.5.4




More information about the vlc-devel mailing list