summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.net>2012-08-04 16:17:14 +0100
committerTim-Philipp Müller <tim@centricular.net>2012-08-04 16:19:29 +0100
commit241419b46dd68f43a8aa639af2e55acd275d469c (patch)
tree3167dd87d1ee93783e51608cb90d59cfc60b00a2
parenta24a87484eccea54f93933eae72f5c7b0619bcdb (diff)
gst_tag_list_free -> gst_tag_list_unref
-rw-r--r--ext/ffmpeg/gstffmpegdemux.c4
-rw-r--r--tests/check/elements/avdemux_ape.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/ext/ffmpeg/gstffmpegdemux.c b/ext/ffmpeg/gstffmpegdemux.c
index 2d964c9..221227a 100644
--- a/ext/ffmpeg/gstffmpegdemux.c
+++ b/ext/ffmpeg/gstffmpegdemux.c
@@ -331,7 +331,7 @@ gst_ffmpegdemux_close (GstFFMpegDemux * demux)
if (stream->pad)
gst_element_remove_pad (GST_ELEMENT (demux), stream->pad);
if (stream->tags)
- gst_tag_list_free (stream->tags);
+ gst_tag_list_unref (stream->tags);
g_free (stream);
}
demux->streams[n] = NULL;
@@ -1105,7 +1105,7 @@ gst_ffmpegdemux_read_tags (GstFFMpegDemux * demux)
}
if (!hastag) {
- gst_tag_list_free (tlist);
+ gst_tag_list_unref (tlist);
tlist = NULL;
}
return tlist;
diff --git a/tests/check/elements/avdemux_ape.c b/tests/check/elements/avdemux_ape.c
index c758b98..3751fc5 100644
--- a/tests/check/elements/avdemux_ape.c
+++ b/tests/check/elements/avdemux_ape.c
@@ -150,7 +150,7 @@ run_check_for_file (const gchar * filename, CheckTagsFunc * check_func)
tags = read_tags_from_file (filename, FALSE);
fail_unless (tags != NULL, "Failed to extract tags from '%s'", filename);
check_func (tags, filename);
- gst_tag_list_free (tags);
+ gst_tag_list_unref (tags);
}
#define tag_list_has_tag(taglist,tag) \