[vlc-devel] [PATCH 20/40] macosx: remove nonsensical flag value

RĂ©mi Denis-Courmont remi at remlab.net
Sun May 14 17:45:50 CEST 2017


PLAYLIST_STOP is a playlist control, not a playlist addition mode flag.
---
 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 8d0fed16bd..82ec2f93a1 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, true );
+    returnValue = playlist_AddInput(p_playlist, p_input, 0, true );
 
     if (returnValue == VLC_SUCCESS) {
         /* let's "play" */
-- 
2.11.0



More information about the vlc-devel mailing list