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
c60c9a9e
Commit
c60c9a9e
authored
Jan 03, 2010
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enabled directx in "vout display" wrapper.
parent
8d099c47
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
modules/video_output/wrapper.c
modules/video_output/wrapper.c
+9
-0
No files found.
modules/video_output/wrapper.c
View file @
c60c9a9e
...
...
@@ -63,6 +63,7 @@ DECLARE_OPEN(glwin32);
DECLARE_OPEN
(
macosx
);
DECLARE_OPEN
(
wingdi
);
DECLARE_OPEN
(
wingapi
);
DECLARE_OPEN
(
directx
);
#undef DECLARE_OPEN
...
...
@@ -133,6 +134,9 @@ vlc_module_begin()
add_submodule
()
DECLARE_MODULE
(
wingapi
,
20
)
add_submodule
()
DECLARE_MODULE
(
directx
,
100
)
vlc_module_end
()
#undef DECLARE_MODULE
...
...
@@ -213,6 +217,9 @@ static int Open(vlc_object_t *object, const char *module)
if
(
!
strcmp
(
sys
->
name
,
"direct3d_xp"
)
||
!
strcmp
(
sys
->
name
,
"direct3d_vista"
))
{
var_Create
(
vout
,
"direct3d-desktop"
,
VLC_VAR_BOOL
|
VLC_VAR_DOINHERIT
);
var_AddCallback
(
vout
,
"direct3d-desktop"
,
Forward
,
NULL
);
}
else
if
(
!
strcmp
(
sys
->
name
,
"directx"
))
{
var_Create
(
vout
,
"video-wallpaper"
,
VLC_VAR_BOOL
|
VLC_VAR_DOINHERIT
);
var_AddCallback
(
vout
,
"video-wallpaper"
,
Forward
,
NULL
);
}
/* */
...
...
@@ -238,6 +245,8 @@ static void Close(vlc_object_t *object)
/* */
if
(
!
strcmp
(
sys
->
name
,
"direct3d_xp"
)
||
!
strcmp
(
sys
->
name
,
"direct3d_vista"
))
{
var_DelCallback
(
vout
,
"direct3d-desktop"
,
Forward
,
NULL
);
}
else
if
(
!
strcmp
(
sys
->
name
,
"directx"
))
{
var_DelCallback
(
vout
,
"video-wallpaper"
,
Forward
,
NULL
);
}
vout_DeleteDisplay
(
sys
->
vd
,
NULL
);
...
...
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