matroskaparse: warn if accumulating headers after they were pushed

https://bugzilla.gnome.org/show_bug.cgi?id=665412
This commit is contained in:
Vincent Penquerc'h 2011-12-03 18:14:59 +00:00
parent 94b8f0b74e
commit 3e2b23280e

View file

@ -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;