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
91d170a1
Commit
91d170a1
authored
Jan 10, 2008
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
"vlc_*_timedwait() expect a time in microseconds". Patch by funman.
parent
ab9b2674
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
modules/misc/audioscrobbler.c
modules/misc/audioscrobbler.c
+7
-1
No files found.
modules/misc/audioscrobbler.c
View file @
91d170a1
...
...
@@ -267,7 +267,10 @@ static void Run( intf_thread_t *p_intf )
/* waiting for data to submit, if waiting interval is elapsed */
vlc_object_lock
(
p_intf
);
if
(
time
(
NULL
)
<
p_sys
->
next_exchange
)
b_die
=
vlc_object_timedwait
(
p_intf
,
p_sys
->
next_exchange
);
{
mtime_t
deadline
=
(
mtime_t
)
p_sys
->
next_exchange
*
(
mtime_t
)
1000000
;
b_die
=
(
vlc_object_timedwait
(
p_intf
,
deadline
)
<
0
);
}
else
b_die
=
vlc_object_wait
(
p_intf
);
vlc_object_unlock
(
p_intf
);
...
...
@@ -277,6 +280,9 @@ static void Run( intf_thread_t *p_intf )
msg_Dbg
(
p_intf
,
"audioscrobbler is dying"
);
return
;
}
/* we are signaled each time there is a song to submit */
else
if
(
time
(
NULL
)
<
p_sys
->
next_exchange
)
continue
;
/* handshake if needed */
if
(
p_sys
->
b_handshaked
==
VLC_FALSE
)
...
...
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