From cf370e02194479247be6940c7e427b13ce8fda04 Mon Sep 17 00:00:00 2001 From: Vincent Penquerc'h Date: Thu, 18 Aug 2011 09:30:46 +0100 Subject: [PATCH] oggstream: vorbis has a preroll of 2 https://bugzilla.gnome.org/show_bug.cgi?id=656775 --- ext/ogg/gstoggstream.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/ogg/gstoggstream.c b/ext/ogg/gstoggstream.c index 1b859a2b27..a0b4e687c6 100644 --- a/ext/ogg/gstoggstream.c +++ b/ext/ogg/gstoggstream.c @@ -717,6 +717,7 @@ setup_vorbis_mapper (GstOggStream * pad, ogg_packet * packet) pad->granulerate_n = GST_READ_UINT32_LE (data); pad->granulerate_d = 1; pad->granuleshift = 0; + pad->preroll = 2; pad->last_size = 0; GST_LOG ("sample rate: %d", pad->granulerate_n); -- 2.34.1