Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
227c020c
Commit
227c020c
authored
Jul 14, 2012
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: CAS: private API optimization
parent
0ffa68f3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
modules/gui/macosx/ConvertAndSave.m
modules/gui/macosx/ConvertAndSave.m
+6
-6
No files found.
modules/gui/macosx/ConvertAndSave.m
View file @
227c020c
...
@@ -245,7 +245,7 @@ static VLCConvertAndSave *_o_sharedInstance = nil;
...
@@ -245,7 +245,7 @@ static VLCConvertAndSave *_o_sharedInstance = nil;
-
(
IBAction
)
customizeProfile
:(
id
)
sender
-
(
IBAction
)
customizeProfile
:(
id
)
sender
{
{
[
self
resetCustomizationSheetBasedOnProfile
:[
_profile
_pop
indexOfSelectedItem
]];
[
self
resetCustomizationSheetBasedOnProfile
:[
_profile
ValueList
objectAtIndex
:[
_profile_pop
indexOfSelectedItem
]
]];
[
NSApp
beginSheet
:
_customize_panel
modalForWindow
:
_window
modalDelegate
:
self
didEndSelector
:
NULL
contextInfo
:
nil
];
[
NSApp
beginSheet
:
_customize_panel
modalForWindow
:
_window
modalDelegate
:
self
didEndSelector
:
NULL
contextInfo
:
nil
];
}
}
...
@@ -325,17 +325,17 @@ static VLCConvertAndSave *_o_sharedInstance = nil;
...
@@ -325,17 +325,17 @@ static VLCConvertAndSave *_o_sharedInstance = nil;
}
}
}
}
-
(
void
)
resetCustomizationSheetBasedOnProfile
:(
NS
Integer
)
profileNumber
-
(
void
)
resetCustomizationSheetBasedOnProfile
:(
NS
String
*
)
profileString
{
{
/* Container(string), transcode video(bool), transcode audio(bool),
/* Container(string), transcode video(bool), transcode audio(bool),
* use subtitles(bool), video codec(string), video bitrate(integer),
* use subtitles(bool), video codec(string), video bitrate(integer),
* scale(float), fps(float), width(integer, height(integer),
* scale(float), fps(float), width(integer, height(integer),
* audio codec(string), audio bitrate(integer), channels(integer),
* audio codec(string), audio bitrate(integer), channels(integer),
* samplerate(integer), subtitle codec(string), subtitle overlay(bool) */
* samplerate(integer), subtitle codec(string), subtitle overlay(bool) */
NSArray
*
components
=
[
[
_profileValueList
objectAtIndex
:
profileNumber
]
componentsSeparatedByString
:
@";"
];
NSArray
*
components
=
[
profileString
componentsSeparatedByString
:
@";"
];
if
([
components
count
]
!=
16
)
{
if
([
components
count
]
!=
16
)
{
msg_Err
(
VLCIntf
,
"CAS: the requested profile
%li is invalid"
,
profileNumber
);
msg_Err
(
VLCIntf
,
"CAS: the requested profile
'%s' is invalid"
,
[
profileString
UTF8String
]
);
return
;
return
;
}
}
...
...
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