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
962d96bf
Commit
962d96bf
authored
May 17, 2012
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: another optimization for the wizard
parent
0802130a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
modules/gui/macosx/wizard.m
modules/gui/macosx/wizard.m
+4
-4
No files found.
modules/gui/macosx/wizard.m
View file @
962d96bf
...
...
@@ -937,8 +937,8 @@ static VLCWizard *_o_sharedInstance = nil;
[
o_t5_matrix_encap
selectCellAtRow
:
0
column
:
0
];
}
NS
String
*
streamingMethod
=
[
o_userSelections
objectForKey
:
@"stmgMhd"
];
if
(
[
streamingMethod
isEqualToString
:
@"1"
]
)
NS
Integer
i_streamingMethod
=
[[
o_userSelections
objectForKey
:
@"stmgMhd"
]
intValue
];
if
(
i_streamingMethod
==
1
)
{
/* if MMS is the streaming protocol, only ASFH is available */
[[
o_t5_matrix_encap
cellAtRow
:
0
column
:
0
]
setEnabled
:
NO
];
...
...
@@ -953,7 +953,7 @@ static VLCWizard *_o_sharedInstance = nil;
[[
o_t5_matrix_encap
cellAtRow
:
9
column
:
0
]
setEnabled
:
YES
];
[
o_t5_matrix_encap
selectCellAtRow
:
9
column
:
0
];
}
else
if
(
[
streamingMethod
isEqualToString
:
@"0"
]
)
else
if
(
i_streamingMethod
==
0
]
)
{
/* if HTTP is the streaming protocol, disable all unsupported
* encap-formats, but don't touch the other ones selected above */
...
...
@@ -962,7 +962,7 @@ static VLCWizard *_o_sharedInstance = nil;
[[
o_t5_matrix_encap
cellAtRow
:
8
column
:
0
]
setEnabled
:
NO
];
[[
o_t5_matrix_encap
cellAtRow
:
9
column
:
0
]
setEnabled
:
NO
];
}
else
if
(
[
streamingMethod
intValue
]
>=
2
)
else
if
(
i_streamingMethod
>=
2
)
{
/* if UDP/RTP is the streaming protocol, only MPEG-TS is available */
[[
o_t5_matrix_encap
cellAtRow
:
0
column
:
0
]
setEnabled
:
NO
];
...
...
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