mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-08 13:30:08 -05:00
gst: sink: minor type fix
This commit is contained in:
parent
b47d28bad6
commit
882542e001
1 changed files with 2 additions and 2 deletions
|
|
@ -722,8 +722,8 @@ static void update_time (GstPipeWireSink *pwsink)
|
|||
struct spa_io_position *p = pwsink->stream->io_position;
|
||||
double err = 0.0, corr = 1.0;
|
||||
guint64 now;
|
||||
double_t max_err = pwsink->rate * MAX_ERROR_MS/1000;
|
||||
double_t resync_timeout = pwsink->rate * RESYNC_TIMEOUT_MS/1000;
|
||||
double max_err = pwsink->rate * MAX_ERROR_MS/1000.0;
|
||||
double resync_timeout = pwsink->rate * RESYNC_TIMEOUT_MS/1000.0;
|
||||
|
||||
if (pwsink->first_buffer) {
|
||||
// use the target duration before the first buffer
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue