[vlc-commits] macosx: remove nonsensical flag value

Rémi Denis-Courmont git at videolan.org
Sun May 14 18:38:33 CEST 2017


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun May 14 16:59:59 2017 +0300| [c829f8e20e3147f75f2b755ae5a27f2252cdbf80] | committer: Rémi Denis-Courmont

macosx: remove nonsensical flag value

PLAYLIST_STOP is a playlist control, not a playlist addition mode flag.

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

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



More information about the vlc-commits mailing list