Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
7f52b2ae
Commit
7f52b2ae
authored
Mar 08, 2013
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: don't overwrite existing files on stream-output (close #7752)
parent
5ccd1fde
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
5 deletions
+6
-5
modules/gui/macosx/ConvertAndSave.m
modules/gui/macosx/ConvertAndSave.m
+1
-1
modules/gui/macosx/output.m
modules/gui/macosx/output.m
+3
-2
modules/gui/macosx/wizard.m
modules/gui/macosx/wizard.m
+2
-2
No files found.
modules/gui/macosx/ConvertAndSave.m
View file @
7f52b2ae
...
...
@@ -902,7 +902,7 @@ static VLCConvertAndSave *_o_sharedInstance = nil;
[
composedOptions
appendFormat
:
@"}:standard{mux=%@"
,
[
self
.
currentProfile
objectAtIndex
:
0
]];
// add output destination
[
composedOptions
appendFormat
:
@",
dst=%@,access=file
}"
,
_outputDestination
];
[
composedOptions
appendFormat
:
@",
access=file{no-overwrite},dst=%@
}"
,
_outputDestination
];
}
else
{
/* streaming */
if
([[[
_stream_type_pop
selectedItem
]
title
]
isEqualToString
:
@"RTP"
])
...
...
modules/gui/macosx/output.m
View file @
7f52b2ae
/*****************************************************************************
* output.m: MacOS X Output Dialog
*****************************************************************************
* Copyright (C) 2002-20
07
VLC authors and VideoLAN
* Copyright (C) 2002-20
13
VLC authors and VideoLAN
* $Id$
*
* Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
* Christophe Massiot <massiot@via.ecp.fr>
* Derk-Jan Hartman <thedj@users.sourceforge.net>
* Benjamin Pracht <bigben AT videolan DOT org>
* Felix Paul Kühne <fkuehne -at- videolan -dot- org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
...
...
@@ -349,7 +350,7 @@
[
self
setSoutMRL
:
o_sout_options
];
return
;
}
else
[
o_mrl_string
appendFormat
:
@"std{access=file,mux=%@,dst=
\"
%@
\"
}"
,
o_mux_string
,
[
o_file_field
stringValue
]];
[
o_mrl_string
appendFormat
:
@"std{access=file
{no-overwrite}
,mux=%@,dst=
\"
%@
\"
}"
,
o_mux_string
,
[
o_file_field
stringValue
]];
}
else
if
([
o_mode
isEqualToString
:
_NS
(
"Stream"
)])
{
o_mode
=
[
o_stream_type
titleOfSelectedItem
];
...
...
modules/gui/macosx/wizard.m
View file @
7f52b2ae
/*****************************************************************************
* wizard.m: MacOS X Streaming Wizard
*****************************************************************************
* Copyright (C) 2005-201
2
VLC authors and VideoLAN
* Copyright (C) 2005-201
3
VLC authors and VideoLAN
* $Id$
*
* Authors: Felix Paul Khne <fkuehne at videolan dot org>,
...
...
@@ -1460,7 +1460,7 @@ static VLCWizard *_o_sharedInstance = nil;
{
/* we are just transcoding and dumping the stuff to a file */
[
o_opts_string
appendFormat
:
@":sout=#%@%@standard{mux=%@,
dst=%@,access=file
}"
,
@":sout=#%@%@standard{mux=%@,
access=file{no-overwrite},dst=%@
}"
,
o_duplicateCmd
,
o_trnscdCmd
,
[[
o_encapFormats
objectAtIndex
:
[[
o_userSelections
objectForKey
:
@"encapFormat"
]
intValue
]]
objectAtIndex
:
0
],
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment