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
eafdd623
Commit
eafdd623
authored
May 10, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PDA: dummy input locking
parent
e9810b98
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
modules/gui/pda/pda.c
modules/gui/pda/pda.c
+0
-6
No files found.
modules/gui/pda/pda.c
View file @
eafdd623
...
...
@@ -376,7 +376,6 @@ static int Manage( intf_thread_t *p_intf )
input_thread_t
*
p_input
=
p_intf
->
p_sys
->
p_input
;
int64_t
i_time
=
0
,
i_length
=
0
;
vlc_object_lock
(
p_input
);
if
(
vlc_object_alive
(
p_input
)
)
{
playlist_t
*
p_playlist
;
...
...
@@ -427,9 +426,7 @@ static int Manage( intf_thread_t *p_intf )
double
f_pos
=
(
double
)
newvalue
/
100
.
0
;
/* release the lock to be able to seek */
vlc_object_unlock
(
p_input
);
var_SetFloat
(
p_input
,
"position"
,
f_pos
);
vlc_object_lock
(
p_input
);
/* Update the old value */
p_intf
->
p_sys
->
f_adj_oldvalue
=
newvalue
;
...
...
@@ -461,9 +458,7 @@ static int Manage( intf_thread_t *p_intf )
double
f_pos
=
(
double
)
newvalue
/
100
.
0
;
/* release the lock to be able to seek */
vlc_object_unlock
(
p_input
);
var_SetFloat
(
p_input
,
"position"
,
f_pos
);
vlc_object_lock
(
p_input
);
/* Update the old value */
p_intf
->
p_sys
->
i_adj_oldvalue
=
newvalue
;
...
...
@@ -471,7 +466,6 @@ static int Manage( intf_thread_t *p_intf )
}
}
}
vlc_object_unlock
(
p_input
);
}
else
if
(
p_intf
->
p_sys
->
b_playing
&&
vlc_object_alive
(
p_intf
)
)
{
...
...
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