mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 00:06:36 +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)
|
||||
*endptr = end;
|
||||
|
||||
*val = (gint) ret;
|
||||
*val = (gdouble) ret;
|
||||
|
||||
return end != ptr;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue