Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
31b183e8
Commit
31b183e8
authored
Mar 17, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WinCE: remove dummy locking
parent
fbb29fc0
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
9 deletions
+0
-9
modules/gui/wince/interface.cpp
modules/gui/wince/interface.cpp
+0
-3
modules/gui/wince/timer.cpp
modules/gui/wince/timer.cpp
+0
-6
No files found.
modules/gui/wince/interface.cpp
View file @
31b183e8
...
@@ -733,7 +733,6 @@ void Interface::OnVideoOnTop( void )
...
@@ -733,7 +733,6 @@ void Interface::OnVideoOnTop( void )
void
Interface
::
OnSliderUpdate
(
int
wp
)
void
Interface
::
OnSliderUpdate
(
int
wp
)
{
{
vlc_mutex_lock
(
&
p_intf
->
change_lock
);
input_thread_t
*
p_input
=
p_intf
->
p_sys
->
p_input
;
input_thread_t
*
p_input
=
p_intf
->
p_sys
->
p_input
;
int
dwPos
=
SendMessage
(
hwndSlider
,
TBM_GETPOS
,
0
,
0
);
int
dwPos
=
SendMessage
(
hwndSlider
,
TBM_GETPOS
,
0
,
0
);
...
@@ -770,8 +769,6 @@ void Interface::OnSliderUpdate( int wp )
...
@@ -770,8 +769,6 @@ void Interface::OnSliderUpdate( int wp )
(
LPARAM
)
_FROMMB
(
psz_time
)
);
(
LPARAM
)
_FROMMB
(
psz_time
)
);
}
}
}
}
vlc_mutex_unlock
(
&
p_intf
->
change_lock
);
}
}
void
Interface
::
OnChange
(
int
wp
)
void
Interface
::
OnChange
(
int
wp
)
...
...
modules/gui/wince/timer.cpp
View file @
31b183e8
...
@@ -90,8 +90,6 @@ void Timer::Notify( void )
...
@@ -90,8 +90,6 @@ void Timer::Notify( void )
vlc_value_t
val
;
vlc_value_t
val
;
char
*
shortname
;
char
*
shortname
;
vlc_mutex_lock
(
&
p_intf
->
change_lock
);
/* Update the input */
/* Update the input */
if
(
p_intf
->
p_sys
->
p_input
==
NULL
)
if
(
p_intf
->
p_sys
->
p_input
==
NULL
)
{
{
...
@@ -219,14 +217,10 @@ void Timer::Notify( void )
...
@@ -219,14 +217,10 @@ void Timer::Notify( void )
if
(
!
vlc_object_alive
(
p_intf
)
)
if
(
!
vlc_object_alive
(
p_intf
)
)
{
{
vlc_mutex_unlock
(
&
p_intf
->
change_lock
);
/* Prepare to die, young Skywalker */
/* Prepare to die, young Skywalker */
/* p_main_interface->Close(TRUE);*/
/* p_main_interface->Close(TRUE);*/
return
;
return
;
}
}
vlc_mutex_unlock
(
&
p_intf
->
change_lock
);
}
}
/*****************************************************************************
/*****************************************************************************
...
...
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