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
@ -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…
x
Reference in New Issue
Block a user