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
898a0cea
Commit
898a0cea
authored
May 09, 2013
by
David Fuhrmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: CAS: correctly allocate arrays (fixes #8597)
parent
da24e557
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
6 deletions
+12
-6
modules/gui/macosx/ConvertAndSave.m
modules/gui/macosx/ConvertAndSave.m
+12
-6
No files found.
modules/gui/macosx/ConvertAndSave.m
View file @
898a0cea
...
...
@@ -217,12 +217,18 @@ static VLCConvertAndSave *_o_sharedInstance = nil;
[
self
setProfileNames
:
[
defaults
arrayForKey
:
@"CASProfileNames"
]];
[
self
recreateProfilePopup
];
_videoCodecs
=
@[@[
@"MPEG-1"
,
@"MPEG-2"
,
@"MPEG-4"
,
@"DIVX 1"
,
@"DIVX 2"
,
@"DIVX 3"
,
@"H.263"
,
@"H.264"
,
@"VP8"
,
@"WMV1"
,
@"WMV2"
,
@"M-JPEG"
,
@"Theora"
,
@"Dirac"
],
@[
@"mpgv"
,
@"mp2v"
,
@"mp4v"
,
@"DIV1"
,
@"DIV2"
,
@"DIV3"
,
@"H263"
,
@"h264"
,
@"VP80"
,
@"WMV1"
,
@"WMV2"
,
@"MJPG"
,
@"theo"
,
@"drac"
]];
_audioCodecs
=
@[@[
@"MPEG Audio"
,
@"MP3"
,
@"MPEG 4 Audio (AAC)"
,
@"A52/AC-3"
,
@"Vorbis"
,
@"Flac"
,
@"Speex"
,
@"WAV"
,
@"WMA2"
],
@[
@"mpga"
,
@"mp3"
,
@"mp4a"
,
@"a52"
,
@"vorb"
,
@"flac"
,
@"spx"
,
@"s16l"
,
@"wma2"
]];
_subsCodecs
=
@[@[
@"DVB subtitle"
,
@"T.140"
],
@[
@"dvbs"
,
@"t140"
]];
_videoCodecs
=
[[
NSArray
alloc
]
initWithObjects
:
@[
@"MPEG-1"
,
@"MPEG-2"
,
@"MPEG-4"
,
@"DIVX 1"
,
@"DIVX 2"
,
@"DIVX 3"
,
@"H.263"
,
@"H.264"
,
@"VP8"
,
@"WMV1"
,
@"WMV2"
,
@"M-JPEG"
,
@"Theora"
,
@"Dirac"
],
@[
@"mpgv"
,
@"mp2v"
,
@"mp4v"
,
@"DIV1"
,
@"DIV2"
,
@"DIV3"
,
@"H263"
,
@"h264"
,
@"VP80"
,
@"WMV1"
,
@"WMV2"
,
@"MJPG"
,
@"theo"
,
@"drac"
],
nil
];
_audioCodecs
=
[[
NSArray
alloc
]
initWithObjects
:
@[
@"MPEG Audio"
,
@"MP3"
,
@"MPEG 4 Audio (AAC)"
,
@"A52/AC-3"
,
@"Vorbis"
,
@"Flac"
,
@"Speex"
,
@"WAV"
,
@"WMA2"
],
@[
@"mpga"
,
@"mp3"
,
@"mp4a"
,
@"a52"
,
@"vorb"
,
@"flac"
,
@"spx"
,
@"s16l"
,
@"wma2"
],
nil
];
_subsCodecs
=
[[
NSArray
alloc
]
initWithObjects
:
@[
@"DVB subtitle"
,
@"T.140"
],
@[
@"dvbs"
,
@"t140"
],
nil
];
[
_customize_vid_codec_pop
removeAllItems
];
[
_customize_vid_scale_pop
removeAllItems
];
...
...
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