GNOME Bugzilla – Bug 782228
adaptivedemux: Implement GST_SEEK_TYPE_END usage for live
Last modified: 2017-05-09 07:04:34 UTC
See commit
Created attachment 351216 [details] [review] adaptivedemux: Implement GST_SEEK_TYPE_END usage for live When dealing with live streams, we can't rely on GstSegment calculation since it uses the segment duration to calculate the absolute values. But since we are dealing with live *and* we know the ranges, we can compute the absolute seeking values using the range stop (i.e. "now") as the END position. Allows seeking back to "live" by using start_type:GST_SEEK_TYPE_END and start:0
commit df60e122037a7eed9604a91c9bed5abe93d1e50c Author: Edward Hervey <edward@centricular.com> Date: Fri May 5 18:25:43 2017 +0200 adaptivedemux: Implement GST_SEEK_TYPE_END usage for live When dealing with live streams, we can't rely on GstSegment calculation since it uses the segment duration to calculate the absolute values. But since we are dealing with live *and* we know the ranges, we can compute the absolute seeking values using the range stop (i.e. "now") as the END position. Allows seeking back to "live" by using start_type:GST_SEEK_TYPE_END and start:0 https://bugzilla.gnome.org/show_bug.cgi?id=782228