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
2f3d2d96
Commit
2f3d2d96
authored
Aug 28, 2014
by
Hannes Domani
Committed by
Jean-Baptiste Kempf
Aug 28, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DirectDraw/Direct3D: make a clean copy of the video-format
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
8aa84192
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
modules/video_output/msw/direct3d.c
modules/video_output/msw/direct3d.c
+2
-1
modules/video_output/msw/directx.c
modules/video_output/msw/directx.c
+2
-1
No files found.
modules/video_output/msw/direct3d.c
View file @
2f3d2d96
...
@@ -228,7 +228,8 @@ static int Open(vlc_object_t *object)
...
@@ -228,7 +228,8 @@ static int Open(vlc_object_t *object)
var_AddCallback
(
vd
,
"video-wallpaper"
,
DesktopCallback
,
NULL
);
var_AddCallback
(
vd
,
"video-wallpaper"
,
DesktopCallback
,
NULL
);
/* Setup vout_display now that everything is fine */
/* Setup vout_display now that everything is fine */
vd
->
fmt
=
fmt
;
video_format_Clean
(
&
vd
->
fmt
);
video_format_Copy
(
&
vd
->
fmt
,
&
fmt
);
vd
->
info
=
info
;
vd
->
info
=
info
;
vd
->
pool
=
Pool
;
vd
->
pool
=
Pool
;
...
...
modules/video_output/msw/directx.c
View file @
2f3d2d96
...
@@ -210,7 +210,8 @@ static int Open(vlc_object_t *object)
...
@@ -210,7 +210,8 @@ static int Open(vlc_object_t *object)
var_AddCallback
(
vd
,
"video-wallpaper"
,
WallpaperCallback
,
NULL
);
var_AddCallback
(
vd
,
"video-wallpaper"
,
WallpaperCallback
,
NULL
);
/* Setup vout_display now that everything is fine */
/* Setup vout_display now that everything is fine */
vd
->
fmt
=
fmt
;
video_format_Clean
(
&
vd
->
fmt
);
video_format_Copy
(
&
vd
->
fmt
,
&
fmt
);
vd
->
info
=
info
;
vd
->
info
=
info
;
vd
->
pool
=
Pool
;
vd
->
pool
=
Pool
;
...
...
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