GNOME Bugzilla – Bug 779294
adaptivedemux: Fix timescale of fragment-start-time
Last modified: 2018-11-03 14:05:02 UTC
Use nanoseconds timescale like other fields such as fragment-{stop,download}-time and manifest-download-{start,stop}
Created attachment 346785 [details] [review] adaptivedemux: Fix timescale of fragment-start-time
Review of attachment 346785 [details] [review]: ::: 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 :)
Created attachment 347978 [details] [review] adaptivedemux: Use nanoseconds timescale for download_start_time Instead of converting it to other timescale at every use.
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/524.