mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 11:11:08 +00:00
rtsprange: use gst_util_gdouble_to_guint64 in get_seconds
https://bugzilla.gnome.org/show_bug.cgi?id=696818
This commit is contained in:
parent
4f1ba51c4b
commit
5ef9921bcd
1 changed files with 1 additions and 1 deletions
|
@ -493,7 +493,7 @@ get_seconds (const GstRTSPTime * t)
|
|||
gst_util_double_to_fraction (t->seconds, &num, &denom);
|
||||
return gst_util_uint64_scale_int (GST_SECOND, num, denom);
|
||||
} else {
|
||||
return t->seconds * GST_SECOND;
|
||||
return gst_util_gdouble_to_guint64 (t->seconds * GST_SECOND);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue