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
2b086db2
Commit
2b086db2
authored
Jul 18, 2009
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msw vout: More debug
parent
13b5baf3
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
modules/video_output/msw/directx.c
modules/video_output/msw/directx.c
+1
-1
modules/video_output/msw/events.c
modules/video_output/msw/events.c
+2
-2
modules/video_output/msw/wingdi.c
modules/video_output/msw/wingdi.c
+3
-3
No files found.
modules/video_output/msw/directx.c
View file @
2b086db2
...
@@ -1832,7 +1832,7 @@ static int DirectXLockSurface( vout_thread_t *p_vout, picture_t *p_pic )
...
@@ -1832,7 +1832,7 @@ static int DirectXLockSurface( vout_thread_t *p_vout, picture_t *p_pic )
dxresult
=
IDirectDrawSurface2_Lock
(
p_pic
->
p_sys
->
p_surface
,
NULL
,
dxresult
=
IDirectDrawSurface2_Lock
(
p_pic
->
p_sys
->
p_surface
,
NULL
,
&
p_pic
->
p_sys
->
ddsd
,
&
p_pic
->
p_sys
->
ddsd
,
DDLOCK_WAIT
,
NULL
);
DDLOCK_WAIT
,
NULL
);
#if
0
#if
ndef NDEBUG
if
(
dxresult
==
DDERR_SURFACELOST
)
if
(
dxresult
==
DDERR_SURFACELOST
)
msg_Dbg
(
p_vout
,
"DirectXLockSurface: DDERR_SURFACELOST"
);
msg_Dbg
(
p_vout
,
"DirectXLockSurface: DDERR_SURFACELOST"
);
#endif
#endif
...
...
modules/video_output/msw/events.c
View file @
2b086db2
...
@@ -691,7 +691,7 @@ void UpdateRects( vout_thread_t *p_vout, bool b_force )
...
@@ -691,7 +691,7 @@ void UpdateRects( vout_thread_t *p_vout, bool b_force )
return
;
return
;
}
}
#if
0
#if
ndef NDEBUG
msg_Dbg
(
p_vout
,
"DirectXUpdateRects image_dst_clipped coords:"
msg_Dbg
(
p_vout
,
"DirectXUpdateRects image_dst_clipped coords:"
" %i,%i,%i,%i"
,
" %i,%i,%i,%i"
,
rect_dest_clipped
.
left
,
rect_dest_clipped
.
top
,
rect_dest_clipped
.
left
,
rect_dest_clipped
.
top
,
...
@@ -752,7 +752,7 @@ void UpdateRects( vout_thread_t *p_vout, bool b_force )
...
@@ -752,7 +752,7 @@ void UpdateRects( vout_thread_t *p_vout, bool b_force )
}
}
#endif
#endif
#if
0
#if
ndef NDEBUG
msg_Dbg
(
p_vout
,
"DirectXUpdateRects image_src_clipped"
msg_Dbg
(
p_vout
,
"DirectXUpdateRects image_src_clipped"
" coords: %i,%i,%i,%i"
,
" coords: %i,%i,%i,%i"
,
rect_src_clipped
.
left
,
rect_src_clipped
.
top
,
rect_src_clipped
.
left
,
rect_src_clipped
.
top
,
...
...
modules/video_output/msw/wingdi.c
View file @
2b086db2
...
@@ -688,8 +688,8 @@ static int GAPILockSurface( vout_thread_t *p_vout, picture_t *p_pic )
...
@@ -688,8 +688,8 @@ static int GAPILockSurface( vout_thread_t *p_vout, picture_t *p_pic )
return
VLC_EGENERIC
;
return
VLC_EGENERIC
;
}
}
#if
0
#if
ndef NDEBUG
msg_
Err
( p_vout, "video (%d,%d,%d,%d) display (%d,%d,%d,%d) "
msg_
Dbg
(
p_vout
,
"video (%d,%d,%d,%d) display (%d,%d,%d,%d) "
"dest (%d,%d,%d,%d)"
,
"dest (%d,%d,%d,%d)"
,
video_rect
.
left
,
video_rect
.
right
,
video_rect
.
left
,
video_rect
.
right
,
video_rect
.
top
,
video_rect
.
bottom
,
video_rect
.
top
,
video_rect
.
bottom
,
...
@@ -701,7 +701,7 @@ static int GAPILockSurface( vout_thread_t *p_vout, picture_t *p_pic )
...
@@ -701,7 +701,7 @@ static int GAPILockSurface( vout_thread_t *p_vout, picture_t *p_pic )
if
(
!
(
p_dest
=
GXBeginDraw
())
)
if
(
!
(
p_dest
=
GXBeginDraw
())
)
{
{
#if
0
#if
ndef NDEBUG
msg_Err
(
p_vout
,
"GXBeginDraw error %d "
,
GetLastError
()
);
msg_Err
(
p_vout
,
"GXBeginDraw error %d "
,
GetLastError
()
);
#endif
#endif
return
VLC_EGENERIC
;
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