[Bug 772330] adaptivedemux: Improve bitrate estimation

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Oct 3 06:56:45 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=772330

--- Comment #3 from Edward Hervey <bilboed at bilboed.com> ---
(In reply to Sebastian Dröge (slomo) from comment #2)
> Review of attachment 336753 [details] [review]:
> 
> ::: gst-libs/gst/adaptivedemux/gstadaptivedemux.c
> @@ +2375,3 @@
> +        stream->last_latency =
> +            gst_adaptive_demux_get_monotonic_time (stream->demux) -
> +            (stream->download_start_time * GST_USECOND);
> 
> While it is currently true here that we only receive the SEGMENT event right
> before the first buffer, this does not seem guaranteed. There's nothing that
> forbids sending the SEGMENT event right away (or sending multiple ones).
> 
> It would probably be better to watch out for the actual first buffer

True, I could move that to the buffer part (if bytes_downloaded == 0)

-- 
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