summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThiago Santos <thiagoss@embedded.ufcg.edu.br>2009-10-14 11:33:24 -0300
committerThiago Santos <thiagoss@embedded.ufcg.edu.br>2009-10-14 11:33:24 -0300
commit959a3f9c954657966932a16f18aed26fd64b04a7 (patch)
tree0d08325c7ec51d0b2e01d999192bbd3843124dfa
parent0141934eec77c91add033886a05ad26688456a3c (diff)
matroskademux: Fix late tags finding
Use the correct taglist variable when notifying of late tags.
-rw-r--r--gst/matroska/matroska-demux.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gst/matroska/matroska-demux.c b/gst/matroska/matroska-demux.c
index 41e7539f..1246e42d 100644
--- a/gst/matroska/matroska-demux.c
+++ b/gst/matroska/matroska-demux.c
@@ -253,6 +253,7 @@ gst_matroska_demux_init (GstMatroskaDemux * demux,
demux->writing_app = NULL;
demux->muxing_app = NULL;
demux->index = NULL;
+ demux->global_tags = NULL;
/* finish off */
gst_matroska_demux_reset (GST_ELEMENT (demux));
@@ -2032,8 +2033,8 @@ gst_matroska_demux_found_global_tag (GstMatroskaDemux * demux,
} else {
/* hm, already sent, no need to cache and wait anymore */
GST_DEBUG_OBJECT (demux, "Sending late global tags %" GST_PTR_FORMAT,
- demux->global_tags);
- gst_element_found_tags (GST_ELEMENT (demux), demux->global_tags);
+ taglist);
+ gst_element_found_tags (GST_ELEMENT (demux), taglist);
}
}