vlc | branch: master | Marvin Scholz <epira...@gmail.com> | Tue Feb 27 02:25:32 
2018 +0100| [be581ce69fa00d73fe9e08b176cad64bad9d3474] | committer: Marvin 
Scholz

macosx: escape sout filenames (fix #19841)

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

 modules/gui/macosx/VLCConvertAndSaveWindowController.m | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/modules/gui/macosx/VLCConvertAndSaveWindowController.m 
b/modules/gui/macosx/VLCConvertAndSaveWindowController.m
index 1ff6e1b19b..b0efac7584 100644
--- a/modules/gui/macosx/VLCConvertAndSaveWindowController.m
+++ b/modules/gui/macosx/VLCConvertAndSaveWindowController.m
@@ -938,7 +938,9 @@
 
 
         // add output destination
-        [composedOptions appendFormat:@",access=file{no-overwrite},dst=%@}", 
_outputDestination];
+        _outputDestination = [_outputDestination 
stringByReplacingOccurrencesOfString:@"\""
+                                                                           
withString:@"\\\""];
+        [composedOptions 
appendFormat:@",access=file{no-overwrite},dst=\"%@\"}", _outputDestination];
     } else {
         /* streaming */
         if ([[[_streamTypePopup selectedItem] title] isEqualToString:@"RTP"])

_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to