summaryrefslogtreecommitdiff
path: root/gst/icydemux/gsticydemux.c
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2011-11-10 18:32:58 +0100
committerWim Taymans <wim.taymans@collabora.co.uk>2011-11-10 18:32:58 +0100
commit7e12b58e37d7fa669d21b9b4144fd29686091ace (patch)
tree6c458e85ae17c21883a1c543d2f25a0974e7f02e /gst/icydemux/gsticydemux.c
parentfbaf216d2554897b09f00420cb8cb6a107ffc2b3 (diff)
update for adapter api changes
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);