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
fe8d35ff
Commit
fe8d35ff
authored
Jul 28, 2015
by
Hannes Domani
Committed by
Jean-Baptiste Kempf
Jul 30, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
direct3d9: don't hold extra references to IDirect3DDevice9
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
05b30079
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
modules/video_output/msw/direct3d9.c
modules/video_output/msw/direct3d9.c
+0
-6
No files found.
modules/video_output/msw/direct3d9.c
View file @
fe8d35ff
...
...
@@ -273,10 +273,6 @@ static void Close(vlc_object_t *object)
static
void
DestroyPicture
(
picture_t
*
picture
)
{
LPDIRECT3DDEVICE9
d3ddev
;
if
(
!
FAILED
(
IDirect3DSurface9_GetDevice
(
picture
->
p_sys
->
surface
,
&
d3ddev
)))
IDirect3DDevice9_Release
(
d3ddev
);
IDirect3DSurface9_Release
(
picture
->
p_sys
->
surface
);
free
(
picture
->
p_sys
);
...
...
@@ -325,8 +321,6 @@ static picture_pool_t *Pool(vout_display_t *vd, unsigned count)
}
pictures
[
picture_count
]
=
picture
;
/* each picture_t holds a ref to the device and release it on Destroy */
IDirect3DDevice9_AddRef
(
vd
->
sys
->
d3ddev
);
}
picture_pool_configuration_t
pool_cfg
;
...
...
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