[Bug 779294] adaptivedemux: Fix timescale of fragment-start-time
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Thu Mar 2 17:18:24 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=779294
Sebastian Dröge (slomo) <slomo at coaxion.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #346785|none |needs-work
status| |
--- Comment #2 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
Review of attachment 346785:
--> (https://bugzilla.gnome.org/review?bug=779294&attachment=346785)
::: gst-libs/gst/adaptivedemux/gstadaptivedemux.c
@@ +4257,3 @@
demux->manifest_uri, "uri", G_TYPE_STRING,
stream->fragment.uri, "fragment-start-time",
+ GST_TYPE_CLOCK_TIME, stream->download_start_time * GST_USECOND,
Instead of multiplying it with GST_USECOND at every use, maybe just store it in
nanoseconds to begin with :)
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list