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

Sebastien Zwickert git at videolan.org
Wed Aug 22 11:19:06 CEST 2012


vlc | branch: master | Sebastien Zwickert <dilaroga at gmail.com> | Wed Aug 22 01:46:12 2012 +0200| [5436eabea3a636fd6d1d96b7b037c0a079eb3324] | committer: Felix Paul Kühne

macosx: str_format_meta(): take playlist as parameter directly

Signed-off-by: Felix Paul Kühne <fkuehne at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5436eabea3a636fd6d1d96b7b037c0a079eb3324
---

 modules/gui/macosx/MainWindow.m |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 );



More information about the vlc-commits mailing list