mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-12 18:35:35 +00:00
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:
parent
a558af4bbf
commit
a38fd9f9ec
1 changed files with 1 additions and 0 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue