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.
This commit is contained in:
Sebastian Dröge 2011-03-14 19:42:49 +01:00
parent a558af4bbf
commit a38fd9f9ec

View file

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