diff options
author | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2011-12-08 01:28:26 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2011-12-08 01:28:26 +0000 |
commit | 668e15598b6a3f3298505546124818e191e78943 (patch) | |
tree | 9a90d1937ef073b550cdd9a30dd4dc53c3306128 /gst/matroska/matroska-parse.c | |
parent | b1d771cf8c63faae248afd1de9735796b77b20b0 (diff) | |
parent | 687d6138d1416602d45041c0ca4a3502a712ffb7 (diff) |
Merge remote-tracking branch 'origin/master' into 0.11
Conflicts:
sys/v4l2/gstv4l2object.c
Diffstat (limited to 'gst/matroska/matroska-parse.c')
-rw-r--r-- | gst/matroska/matroska-parse.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gst/matroska/matroska-parse.c b/gst/matroska/matroska-parse.c index f1b4b5372..f77a8bf13 100644 --- a/gst/matroska/matroska-parse.c +++ b/gst/matroska/matroska-parse.c @@ -2487,6 +2487,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; @@ -2742,7 +2747,7 @@ gst_matroska_parse_parse_id (GstMatroskaParse * parse, guint32 id, GST_READ_CHECK (gst_matroska_parse_take (parse, read, &ebml)); ret = gst_matroska_read_common_parse_metadata (&parse->common, GST_ELEMENT_CAST (parse), &ebml); - gst_matroska_parse_output (parse, ebml.buf, FALSE); + gst_matroska_parse_accumulate_streamheader (parse, ebml.buf); break; case GST_MATROSKA_ID_CHAPTERS: GST_READ_CHECK (gst_matroska_parse_take (parse, read, &ebml)); |