diff options
author | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2009-06-18 23:37:11 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2009-06-22 10:49:01 +0100 |
commit | 323517f5278e55023e1c10e59315e890c477b2eb (patch) | |
tree | 8c167579484bf32ebb7f563ee818dd92cfdf5241 /gst/matroska | |
parent | 4fe23fbe4b71fee39ad7fa8ff0c4e3ad33314ca3 (diff) |
matroska-demux: post container-format tags
Diffstat (limited to 'gst/matroska')
-rw-r--r-- | gst/matroska/matroska-demux.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/gst/matroska/matroska-demux.c b/gst/matroska/matroska-demux.c index 068119e7..5c124824 100644 --- a/gst/matroska/matroska-demux.c +++ b/gst/matroska/matroska-demux.c @@ -3090,11 +3090,10 @@ gst_matroska_demux_parse_metadata (GstMatroskaDemux * demux) DEBUG_ELEMENT_STOP (demux, ebml, "Tags", ret); - if (gst_structure_n_fields (GST_STRUCTURE (taglist)) > 0) { - gst_element_found_tags (GST_ELEMENT (ebml), taglist); - } else { - gst_tag_list_free (taglist); - } + /* FIXME: tags must be pushed *after* the initial newsegment event */ + gst_tag_list_add (taglist, GST_TAG_MERGE_REPLACE, GST_TAG_CONTAINER_FORMAT, + "Matroska", NULL); + gst_element_found_tags (GST_ELEMENT (ebml), taglist); return ret; } |