Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Gautam Chitnis
web-ui-redesign
Commits
d1ae6b84
Commit
d1ae6b84
authored
Jun 01, 2006
by
Christophe Mutricy
Browse files
Don't lock the mutex twice
parent
053d5bb6
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/gui/wxwidgets/video.cpp
View file @
d1ae6b84
...
...
@@ -352,10 +352,8 @@ int VideoWindow::ControlWindow( void *p_window, int i_query, va_list args )
unsigned
int
i_width
=
va_arg
(
args
,
unsigned
int
);
unsigned
int
i_height
=
va_arg
(
args
,
unsigned
int
);
vlc_mutex_lock
(
&
lock
);
if
(
!
i_width
&&
p_vout
)
i_width
=
p_vout
->
i_window_width
;
if
(
!
i_height
&&
p_vout
)
i_height
=
p_vout
->
i_window_height
;
vlc_mutex_unlock
(
&
lock
);
/* Update dimensions */
wxSizeEvent
event
(
wxSize
(
i_width
,
i_height
),
UpdateSize_Event
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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