gst-plugins-base: oggmux: Increase the seen header packets count when seeing a header packet
Sebastian Dröge
slomo at kemper.freedesktop.org
Mon Mar 14 11:44:47 PDT 2011
Module: gst-plugins-base
Branch: master
Commit: a38fd9f9ec1fa6d16ce46674d6575662b4a2e801
URL: http://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/?id=a38fd9f9ec1fa6d16ce46674d6575662b4a2e801
Author: Sebastian Dröge <sebastian.droege at collabora.co.uk>
Date: Mon Mar 14 19:42:49 2011 +0100
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 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/ext/ogg/gstoggmux.c b/ext/ogg/gstoggmux.c
index 9016102..f2194f5 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 {
More information about the gstreamer-commits
mailing list