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
604e62dd
Commit
604e62dd
authored
May 05, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
--opengl-provider is a module parameter
parent
1c9e7488
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
7 deletions
+3
-7
modules/video_output/opengl.c
modules/video_output/opengl.c
+3
-7
No files found.
modules/video_output/opengl.c
View file @
604e62dd
...
...
@@ -123,8 +123,8 @@ vlc_module_begin ()
#endif
add_shortcut
(
"opengl"
)
/* Allow opengl provider plugin selection */
add_
string
(
"opengl-provider"
,
"default"
,
NULL
,
PROVIDER_TEXT
,
PROVIDER_LONGTEXT
,
true
)
add_
module
(
"opengl-provider"
,
"opengl provider"
,
NULL
,
NULL
,
PROVIDER_TEXT
,
PROVIDER_LONGTEXT
,
true
)
set_callbacks
(
CreateVout
,
DestroyVout
)
vlc_module_end
()
...
...
@@ -194,11 +194,7 @@ static int CreateVout( vlc_object_t *p_this )
p_sys
->
p_vout
->
i_zoom
=
p_vout
->
i_zoom
;
p_sys
->
p_vout
->
i_alignment
=
p_vout
->
i_alignment
;
psz
=
config_GetPsz
(
p_vout
,
"opengl-provider"
);
msg_Dbg
(
p_vout
,
"requesting
\"
%s
\"
opengl provider"
,
psz
?
psz
:
"default"
);
psz
=
var_CreateGetString
(
p_vout
,
"opengl-provider"
);
p_sys
->
p_vout
->
p_module
=
module_need
(
p_sys
->
p_vout
,
"opengl provider"
,
psz
,
false
);
free
(
psz
);
...
...
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