mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-03 05:59:10 +00:00
hlsdemux: Actually store doubles as such and don't truncate them to ints
Fixes broken duration reporting.
This commit is contained in:
parent
a5387eb372
commit
a4847fd4db
1 changed files with 1 additions and 1 deletions
|
@ -160,7 +160,7 @@ double_from_string (gchar * ptr, gchar ** endptr, gdouble * val)
|
||||||
if (endptr)
|
if (endptr)
|
||||||
*endptr = end;
|
*endptr = end;
|
||||||
|
|
||||||
*val = (gint) ret;
|
*val = (gdouble) ret;
|
||||||
|
|
||||||
return end != ptr;
|
return end != ptr;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue