hlsdemux: Actually store doubles as such and don't truncate them to ints

Fixes broken duration reporting.
This commit is contained in:
Sebastian Dröge 2014-02-10 17:26:27 +01:00
parent a5387eb372
commit a4847fd4db

View file

@ -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;
}