summaryrefslogtreecommitdiff
path: root/gst/icydemux/gsticydemux.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/icydemux/gsticydemux.c')
-rw-r--r--gst/icydemux/gsticydemux.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gst/icydemux/gsticydemux.c b/gst/icydemux/gsticydemux.c
index a3f12fb51..ac93dd119 100644
--- a/gst/icydemux/gsticydemux.c
+++ b/gst/icydemux/gsticydemux.c
@@ -331,7 +331,8 @@ gst_icydemux_parse_and_send_tags (GstICYDemux * icydemux)
g_strfreev (strings);
g_free (buffer);
- gst_adapter_unmap (icydemux->meta_adapter, length);
+ gst_adapter_unmap (icydemux->meta_adapter);
+ gst_adapter_flush (icydemux->meta_adapter, length);
if (!gst_tag_list_is_empty (tags))
gst_icydemux_tag_found (icydemux, tags);