summaryrefslogtreecommitdiffstats
path: root/gst-libs
diff options
context:
space:
mode:
Diffstat (limited to 'gst-libs')
-rw-r--r--gst-libs/gst/riff/riff-read.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/gst-libs/gst/riff/riff-read.c b/gst-libs/gst/riff/riff-read.c
index fc47f2c8..0e441ba8 100644
--- a/gst-libs/gst/riff/riff-read.c
+++ b/gst-libs/gst/riff/riff-read.c
@@ -879,8 +879,12 @@ gst_riff_read_info (GstRiffRead * riff)
gst_pad_push (GST_PAD (padlist->data), GST_DATA (event));
}
}
+
+ gst_element_found_tags (element, taglist);
+
gst_event_unref (event);
- gst_element_found_tags (GST_ELEMENT (riff), taglist);
+ } else {
+ gst_tag_list_free (taglist);
}
return TRUE;