From 3e2b23280ee06d3d8aab0424b65220c727f0b642 Mon Sep 17 00:00:00 2001 From: Vincent Penquerc'h Date: Sat, 3 Dec 2011 18:14:59 +0000 Subject: matroskaparse: warn if accumulating headers after they were pushed https://bugzilla.gnome.org/show_bug.cgi?id=665412 --- gst/matroska/matroska-parse.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gst/matroska/matroska-parse.c') 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; -- cgit v1.2.3