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
54fb5e05
Commit
54fb5e05
authored
May 05, 2010
by
David Menestrina
Committed by
Laurent Aimar
May 23, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Select wrapper video output if --vout is specified on Mac OS
Signed-off-by:
Laurent Aimar
<
fenrir@videolan.org
>
parent
ec1878dd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
src/video_output/video_output.c
src/video_output/video_output.c
+12
-0
No files found.
src/video_output/video_output.c
View file @
54fb5e05
...
...
@@ -463,6 +463,18 @@ vout_thread_t * vout_Create( vlc_object_t *p_parent, video_format_t *p_fmt )
if
(
!
p_vout
->
p
->
psz_filter_chain
||
!*
p_vout
->
p
->
psz_filter_chain
)
{
psz_parser
=
NULL
;
#ifdef __APPLE__
// On Mac OS, the wrapper video output module has lower precedence
// than the opengl module. So if a vout is requested, we must
// select the wrapper video output module.
char
*
psz_vout
=
var_CreateGetNonEmptyString
(
p_vout
,
"vout"
);
if
(
psz_vout
)
{
if
(
strcmp
(
psz_vout
,
"opengl"
)
!=
0
)
psz_parser
=
strdup
(
"vout_wrapper"
);
free
(
psz_vout
);
}
#endif
}
else
{
...
...
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