Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
f9a7f0e8
Commit
f9a7f0e8
authored
Apr 02, 2002
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Fixed yet another bug related to the event thread creation * Removed a few debug messages
parent
f8cad0ac
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
+9
-3
plugins/directx/vout_directx.h
plugins/directx/vout_directx.h
+2
-2
plugins/directx/vout_events.c
plugins/directx/vout_events.c
+7
-1
No files found.
plugins/directx/vout_directx.h
View file @
f9a7f0e8
...
...
@@ -2,7 +2,7 @@
* vout_directx.h: Windows DirectX video output header file
*****************************************************************************
* Copyright (C) 1998, 1999, 2000 VideoLAN
* $Id: vout_directx.h,v 1.
3 2002/01/27 22:14:52
gbazin Exp $
* $Id: vout_directx.h,v 1.
4 2002/04/02 06:31:23
gbazin Exp $
*
* Authors: Gildas Bazin <gbazin@netcourrier.com>
*
...
...
@@ -73,7 +73,7 @@ typedef struct vout_sys_s
vlc_mutex_t
event_thread_lock
;
/* lock for the event thread */
vlc_cond_t
event_thread_wait
;
int
i_event_thread_status
;
/* DirectXEventThread status */
volatile
int
i_event_thread_status
;
/* DirectXEventThread status */
boolean_t
b_event_thread_die
;
/* flag to kill the event thread */
}
vout_sys_t
;
...
...
plugins/directx/vout_events.c
View file @
f9a7f0e8
...
...
@@ -2,7 +2,7 @@
* vout_events.c: Windows DirectX video output events handler
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: vout_events.c,v 1.1
2 2002/04/01 16:08
:23 gbazin Exp $
* $Id: vout_events.c,v 1.1
3 2002/04/02 06:31
:23 gbazin Exp $
*
* Authors: Gildas Bazin <gbazin@netcourrier.com>
*
...
...
@@ -415,10 +415,12 @@ static void DirectXUpdateRects( vout_thread_t *p_vout )
/* Clip the destination window */
IntersectRect
(
&
rect_dest_clipped
,
&
rect_dest
,
&
rect_display
);
#if 0
intf_WarnMsg( 3, "vout: DirectXUpdateRects image_dst_clipped coords:"
" %i,%i,%i,%i",
rect_dest_clipped.left, rect_dest_clipped.top,
rect_dest_clipped.right, rect_dest_clipped.bottom);
#endif
/* the 2 following lines are to fix a bug when clicking on the desktop */
if
(
(
rect_dest_clipped
.
right
-
rect_dest_clipped
.
left
)
==
0
||
...
...
@@ -446,10 +448,12 @@ static void DirectXUpdateRects( vout_thread_t *p_vout )
(
rect_dest
.
bottom
-
rect_dest_clipped
.
bottom
)
*
p_vout
->
render
.
i_height
/
(
rect_dest
.
bottom
-
rect_dest
.
top
);
#if 0
intf_WarnMsg( 3, "vout: DirectXUpdateRects image_src_clipped"
" coords: %i,%i,%i,%i",
rect_src_clipped.left, rect_src_clipped.top,
rect_src_clipped.right, rect_src_clipped.bottom);
#endif
#undef rect_src
#undef rect_src_clipped
...
...
@@ -495,10 +499,12 @@ static long FAR PASCAL DirectXEventProc( HWND hwnd, UINT message,
GetClientRect
(
hwnd
,
&
rect_window
);
p_vout
->
p_sys
->
i_window_width
=
rect_window
.
right
;
p_vout
->
p_sys
->
i_window_height
=
rect_window
.
bottom
;
#if 0
intf_WarnMsg( 3, "vout: WinProc WM_WINDOWPOSCHANGED %i,%i,%i,%i",
p_vout->p_sys->i_window_x, p_vout->p_sys->i_window_y,
p_vout->p_sys->i_window_width,
p_vout->p_sys->i_window_height );
#endif
DirectXUpdateRects
(
p_vout
);
if
(
p_vout
->
p_sys
->
b_using_overlay
&&
...
...
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