Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
3d284ccf
Commit
3d284ccf
authored
Oct 10, 2005
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* revert [12779] (this broke the output of MPEG PS files) and fix it correctly
parent
1760568d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
6 deletions
+15
-6
modules/gui/macosx/wizard.m
modules/gui/macosx/wizard.m
+15
-6
No files found.
modules/gui/macosx/wizard.m
View file @
3d284ccf
...
...
@@ -230,12 +230,12 @@ static VLCWizard *_o_sharedInstance = nil;
NSArray
*
o_mov
;
NSArray
*
o_wav
;
NSArray
*
o_asfh
;
o_ps
=
[
NSArray
arrayWithObjects
:
@"
mpg
"
,
@"MPEG PS"
,
\
_NS
(
"MPEG Program Stream"
),
nil
];
o_ps
=
[
NSArray
arrayWithObjects
:
@"
ps
"
,
@"MPEG PS"
,
\
_NS
(
"MPEG Program Stream"
),
@"mpg"
,
nil
];
o_ts
=
[
NSArray
arrayWithObjects
:
@"ts"
,
@"MPEG TS"
,
\
_NS
(
"MPEG Transport Stream"
),
nil
];
o_mpeg
=
[
NSArray
arrayWithObjects
:
@"
mpg
"
,
@"MPEG 1"
,
\
_NS
(
"MPEG 1 Format"
),
nil
];
o_mpeg
=
[
NSArray
arrayWithObjects
:
@"
ps
"
,
@"MPEG 1"
,
\
_NS
(
"MPEG 1 Format"
),
@"mpg"
,
nil
];
o_ogg
=
[
NSArray
arrayWithObjects
:
@"ogg"
,
@"OGG"
,
@"OGG"
,
nil
];
o_raw
=
[
NSArray
arrayWithObjects
:
@"raw"
,
@"RAW"
,
@"RAW"
,
nil
];
o_asf
=
[
NSArray
arrayWithObjects
:
@"asf"
,
@"ASF"
,
@"ASF"
,
nil
];
...
...
@@ -1610,8 +1610,17 @@ static VLCWizard *_o_sharedInstance = nil;
/* provide a save-to-dialogue, so the user can choose a location for his/her new file */
NSSavePanel
*
savePanel
=
[
NSSavePanel
savePanel
];
SEL
sel
=
@selector
(
t7_getTrnscdDestFile
:
returnCode
:
contextInfo
:
);
[
savePanel
setRequiredFileType
:[[
o_encapFormats
objectAtIndex
:
\
[[
o_userSelections
objectForKey
:
@"encapFormat"
]
intValue
]]
objectAtIndex
:
0
]];
NSString
*
theEncapFormat
=
[[
o_encapFormats
objectAtIndex
:
\
[[
o_userSelections
objectForKey
:
@"encapFormat"
]
intValue
]]
\
objectAtIndex
:
0
];
if
(
theEncapFormat
!=
@"ps"
)
{
[
savePanel
setRequiredFileType
:
theEncapFormat
];
}
else
{
[
savePanel
setRequiredFileType
:
@"mpg"
];
}
[
savePanel
setCanSelectHiddenExtension
:
YES
];
[
savePanel
beginSheetForDirectory
:
nil
file
:
nil
modalForWindow
:
\
o_wizard_window
modalDelegate
:
self
didEndSelector
:
sel
contextInfo
:
nil
];
...
...
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