Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
d1ae6b84
Commit
d1ae6b84
authored
Jun 01, 2006
by
Christophe Mutricy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't lock the mutex twice
parent
053d5bb6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
modules/gui/wxwidgets/video.cpp
modules/gui/wxwidgets/video.cpp
+0
-2
No files found.
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
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