summaryrefslogtreecommitdiff
path: root/gst/matroska
diff options
context:
space:
mode:
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>2011-12-03 18:14:59 +0000
committerVincent Penquerc'h <vincent.penquerch@collabora.co.uk>2011-12-03 18:44:39 +0000
commit3e2b23280ee06d3d8aab0424b65220c727f0b642 (patch)
tree717b88b04a270f3dcc79c4f11bc93200b44c7e6c /gst/matroska
parent94b8f0b74ecb4ab0b130b963659e9c352b6c432c (diff)
matroskaparse: warn if accumulating headers after they were pushed
https://bugzilla.gnome.org/show_bug.cgi?id=665412
Diffstat (limited to 'gst/matroska')
-rw-r--r--gst/matroska/matroska-parse.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gst/matroska/matroska-parse.c b/gst/matroska/matroska-parse.c
index d5e29ffff..6fd1f7926 100644
--- a/gst/matroska/matroska-parse.c
+++ b/gst/matroska/matroska-parse.c
@@ -2500,6 +2500,11 @@ static void
gst_matroska_parse_accumulate_streamheader (GstMatroskaParse * parse,
GstBuffer * buffer)
{
+ if (parse->pushed_headers) {
+ GST_WARNING_OBJECT (parse,
+ "Accumulating headers, but headers are already pushed");
+ }
+
if (parse->streamheader) {
GstBuffer *buf;