GNOME Bugzilla – Bug 735808
oggdemux: should not set segment.base in gst_ogg_pad_submit_packet()
Last modified: 2014-09-01 13:27:14 UTC
If you try playing an ogg file and send a seek request right away with (start=$X-seconds, stop=-1) you have to wait $X-seconds before the playback actually start. This is another issue introduced with the fix for bug #706569 : setting Segment.base = time in gst_ogg_pad_submit_packet() result in the sink waiting $time before playing its buffer.
Created attachment 285012 [details] [review] oggdemux: don't set segment.base in pad_submit_packet() Setting segment.base in the segment sent from gst_ogg_demux_handle_page() is enough to ensure that chained oggs are played corretly (see bgo#706569). Tweaking the base in gst_ogg_pad_submit_packet() as well result in delays when playing a file with start != -1.
commit be1b5b3de7954edea1186aca476d59ef1e42ad77 Author: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> Date: Mon Sep 1 15:06:51 2014 +0200 oggdemux: don't set segment.base in pad_submit_packet() Setting segment.base in the segment sent from gst_ogg_demux_handle_page() is enough to ensure that chained oggs are played corretly (see bgo#706569). Tweaking the base in gst_ogg_pad_submit_packet() as well result in delays when playing a file with start != -1. https://bugzilla.gnome.org/show_bug.cgi?id=735808