mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 01:30:38 +00:00
shout2: Convert delay correctly
Use GST_MSECOND to convert delay in msecs to nanosecs Fixes #603547
This commit is contained in:
parent
384c4a2495
commit
8cb3452ac4
1 changed files with 1 additions and 1 deletions
|
@ -640,7 +640,7 @@ gst_shout2send_render (GstBaseSink * basesink, GstBuffer * buf)
|
|||
delay = shout_delay (sink->conn);
|
||||
|
||||
GST_LOG_OBJECT (sink, "waiting %d msec", delay);
|
||||
if (gst_poll_wait (sink->timer, 1000 * delay) == -1) {
|
||||
if (gst_poll_wait (sink->timer, GST_MSECOND * delay) == -1) {
|
||||
GST_LOG_OBJECT (sink, "unlocked");
|
||||
|
||||
fret = gst_base_sink_wait_preroll (basesink);
|
||||
|
|
Loading…
Reference in a new issue