diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2014-02-10 17:26:27 +0100 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2014-02-10 17:28:01 +0100 |
commit | 6a246a890b202b291537039e9c5cf64120ca4702 (patch) | |
tree | 2a26cb9e88235a9fa54b32105146beb0c52bdcde | |
parent | b122153747bcfffb2496dd383c7d3932e9ddc01a (diff) | |
download | gstreamer-plugins-bad-6a246a890b202b291537039e9c5cf64120ca4702.tar.gz |
hlsdemux: Actually store doubles as such and don't truncate them to ints
Fixes broken duration reporting.
-rw-r--r-- | ext/hls/m3u8.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/hls/m3u8.c b/ext/hls/m3u8.c index 8043ca1c5..45f997b96 100644 --- a/ext/hls/m3u8.c +++ b/ext/hls/m3u8.c @@ -161,7 +161,7 @@ double_from_string (gchar * ptr, gchar ** endptr, gdouble * val) if (endptr) *endptr = end; - *val = (gint) ret; + *val = (gdouble) ret; return end != ptr; } |