From a38fd9f9ec1fa6d16ce46674d6575662b4a2e801 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 14 Mar 2011 19:42:49 +0100 Subject: [PATCH] oggmux: Increase the seen header packets count when seeing a header packet This fixes muxing of Speex content and possibly other formats where the header detection works by counting the packets. Fixes bug #644745. --- ext/ogg/gstoggmux.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/ogg/gstoggmux.c b/ext/ogg/gstoggmux.c index 9016102d2e..f2194f5119 100644 --- a/ext/ogg/gstoggmux.c +++ b/ext/ogg/gstoggmux.c @@ -835,6 +835,7 @@ gst_ogg_mux_queue_pads (GstOggMux * ogg_mux) GST_DEBUG_OBJECT (ogg_mux, "got header buffer in control state, ignoring"); /* just ignore */ + pad->map.n_header_packets_seen++; gst_buffer_unref (buf); buf = NULL; } else {