Commit 5436eabe authored by Sebastien Zwickert's avatar Sebastien Zwickert Committed by Felix Paul Kühne

macosx: str_format_meta(): take playlist as parameter directly

Signed-off-by: default avatarFelix Paul Kühne <fkuehne@videolan.org>
parent 6195d81f
...@@ -1564,7 +1564,7 @@ static VLCMainWindow *_o_sharedInstance = nil; ...@@ -1564,7 +1564,7 @@ static VLCMainWindow *_o_sharedInstance = nil;
{ {
NSString *aString; NSString *aString;
char *format = var_InheritString( VLCIntf, "input-title-format" ); 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 ); free( format );
aString = [NSString stringWithUTF8String:formated]; aString = [NSString stringWithUTF8String:formated];
free( formated ); free( formated );
......
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