Commit a38fd9f9 authored by Sebastian Dröge's avatar Sebastian Dröge
Browse files

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.
parent a558af4b
...@@ -835,6 +835,7 @@ gst_ogg_mux_queue_pads (GstOggMux * ogg_mux) ...@@ -835,6 +835,7 @@ gst_ogg_mux_queue_pads (GstOggMux * ogg_mux)
GST_DEBUG_OBJECT (ogg_mux, GST_DEBUG_OBJECT (ogg_mux,
"got header buffer in control state, ignoring"); "got header buffer in control state, ignoring");
/* just ignore */ /* just ignore */
pad->map.n_header_packets_seen++;
gst_buffer_unref (buf); gst_buffer_unref (buf);
buf = NULL; buf = NULL;
} else { } else {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment