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
e134a035
Commit
e134a035
authored
Jun 28, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove completely useless mutex
parent
c68f07f2
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
5 deletions
+0
-5
modules/gui/qt4/components/interface_widgets.cpp
modules/gui/qt4/components/interface_widgets.cpp
+0
-4
modules/gui/qt4/components/interface_widgets.hpp
modules/gui/qt4/components/interface_widgets.hpp
+0
-1
No files found.
modules/gui/qt4/components/interface_widgets.cpp
View file @
e134a035
...
@@ -60,7 +60,6 @@
...
@@ -60,7 +60,6 @@
VideoWidget
::
VideoWidget
(
intf_thread_t
*
_p_i
)
:
QFrame
(
NULL
),
p_intf
(
_p_i
)
VideoWidget
::
VideoWidget
(
intf_thread_t
*
_p_i
)
:
QFrame
(
NULL
),
p_intf
(
_p_i
)
{
{
/* Init */
/* Init */
vlc_mutex_init
(
&
lock
);
p_vout
=
NULL
;
p_vout
=
NULL
;
hide
();
setMinimumSize
(
16
,
16
);
hide
();
setMinimumSize
(
16
,
16
);
videoSize
.
rwidth
()
=
-
1
;
videoSize
.
rwidth
()
=
-
1
;
...
@@ -98,7 +97,6 @@ void VideoWidget::paintEvent(QPaintEvent *ev)
...
@@ -98,7 +97,6 @@ void VideoWidget::paintEvent(QPaintEvent *ev)
VideoWidget
::~
VideoWidget
()
VideoWidget
::~
VideoWidget
()
{
{
vlc_mutex_lock
(
&
lock
);
if
(
p_vout
)
if
(
p_vout
)
{
{
if
(
!
p_intf
->
psz_switch_intf
)
if
(
!
p_intf
->
psz_switch_intf
)
...
@@ -112,8 +110,6 @@ VideoWidget::~VideoWidget()
...
@@ -112,8 +110,6 @@ VideoWidget::~VideoWidget()
vout_Control
(
p_vout
,
VOUT_CLOSE
);
vout_Control
(
p_vout
,
VOUT_CLOSE
);
}
}
}
}
vlc_mutex_unlock
(
&
lock
);
vlc_mutex_destroy
(
&
lock
);
}
}
/**
/**
...
...
modules/gui/qt4/components/interface_widgets.hpp
View file @
e134a035
...
@@ -87,7 +87,6 @@ private:
...
@@ -87,7 +87,6 @@ private:
intf_thread_t
*
p_intf
;
intf_thread_t
*
p_intf
;
vout_thread_t
*
p_vout
;
vout_thread_t
*
p_vout
;
vlc_mutex_t
lock
;
QSize
videoSize
;
QSize
videoSize
;
signals:
signals:
...
...
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