[vlc-devel] [PATCH] gui/macosx: adjust to changes in 9d2aa1f
Filip Roséen
filip at atch.se
Thu Nov 17 03:36:24 CET 2016
The mentioned commit removes the last parameter of playlist_AddInput,
causing an error diagnostic when trying to build gui/macosx (due to
too many arguments being passed).
These changes simply adjust the function-call so that it uses the
right number of arguments, by dropping the (now removed) last
argument, effectively fixing the build.
---
modules/gui/macosx/VLCConvertAndSaveWindowController.m | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/gui/macosx/VLCConvertAndSaveWindowController.m b/modules/gui/macosx/VLCConvertAndSaveWindowController.m
index d4a5152..a77d479 100644
--- a/modules/gui/macosx/VLCConvertAndSaveWindowController.m
+++ b/modules/gui/macosx/VLCConvertAndSaveWindowController.m
@@ -287,7 +287,7 @@
input_item_AddOption(p_input, [[NSString stringWithFormat:@"ttl=%@", [_streamTTLField stringValue]] UTF8String], VLC_INPUT_OPTION_TRUSTED);
int returnValue;
- returnValue = playlist_AddInput(p_playlist, p_input, PLAYLIST_STOP, PLAYLIST_END, true, pl_Unlocked);
+ returnValue = playlist_AddInput(p_playlist, p_input, PLAYLIST_STOP, PLAYLIST_END, true );
if (returnValue == VLC_SUCCESS) {
/* let's "play" */
--
2.10.2
More information about the vlc-devel
mailing list