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
09f2f703
Commit
09f2f703
authored
Apr 20, 2015
by
Steve Lhomme
Committed by
Jean-Baptiste Kempf
Apr 22, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
direct3d9: better warnings
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
2bba4c14
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
modules/video_output/msw/direct3d9.c
modules/video_output/msw/direct3d9.c
+2
-1
No files found.
modules/video_output/msw/direct3d9.c
View file @
09f2f703
...
...
@@ -1006,6 +1006,7 @@ static int Direct3D9CreatePool(vout_display_t *vd, video_format_t *fmt)
picture_t
*
picture
=
picture_NewFromResource
(
fmt
,
&
resource
);
if
(
!
picture
)
{
msg_Err
(
vd
,
"Failed to create a picture from resources."
);
IDirect3DSurface9_Release
(
surface
);
free
(
picsys
);
return
VLC_ENOMEM
;
...
...
@@ -1483,7 +1484,7 @@ static int Direct3D9ImportPicture(vout_display_t *vd,
hr
=
IDirect3DDevice9_StretchRect
(
sys
->
d3ddev
,
source
,
NULL
,
destination
,
NULL
,
D3DTEXF_LINEAR
);
IDirect3DSurface9_Release
(
destination
);
if
(
FAILED
(
hr
))
{
msg_Dbg
(
vd
,
"Failed IDirect3D
Texture9_GetSurfaceLevel: 0x%0lx"
,
hr
);
msg_Dbg
(
vd
,
"Failed IDirect3D
Device9_StretchRect: source 0x%p 0x%0lx"
,
source
,
hr
);
return
VLC_EGENERIC
;
}
...
...
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