[vlc-commits] gui/macosx: adjust to changes in 9d2aa1f

Filip Roséen git at videolan.org
Thu Nov 17 04:22:45 CET 2016


vlc | branch: master | Filip Roséen <filip at atch.se> | Thu Nov 17 03:36:24 2016 +0100| [8b4e5c8847b6fba21f9ec566396d22dfabf5278b] | committer: Tristan Matthews

gui/macosx: adjust to changes in 9d2aa1f

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.

Signed-off-by: Tristan Matthews <tmatth at videolan.org>

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

 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" */



More information about the vlc-commits mailing list