summaryrefslogtreecommitdiff
path: root/gst/jpegformat/gstjpegparse.c
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.net>2012-08-04 16:31:30 +0100
committerTim-Philipp Müller <tim@centricular.net>2012-08-04 16:31:30 +0100
commit489b102a43653efef9aef58e1c19e4c92692a9e7 (patch)
tree89adf6504847c89e0a8bbdb9cacbc391fe7cd906 /gst/jpegformat/gstjpegparse.c
parenta7037cd0e30fa59d26627fac27241e33d543c10c (diff)
downloadgstreamer-plugins-bad-489b102a43653efef9aef58e1c19e4c92692a9e7.tar.gz
gst_tag_list_free -> gst_tag_list_unref
Diffstat (limited to 'gst/jpegformat/gstjpegparse.c')
-rw-r--r--gst/jpegformat/gstjpegparse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/jpegformat/gstjpegparse.c b/gst/jpegformat/gstjpegparse.c
index 240721380..5d47e7c09 100644
--- a/gst/jpegformat/gstjpegparse.c
+++ b/gst/jpegformat/gstjpegparse.c
@@ -585,7 +585,7 @@ extract_and_queue_tags (GstJpegParse * parse, guint size, guint8 * data,
GstTagList *taglist = parse->priv->tags;
if (taglist) {
gst_tag_list_insert (taglist, tags, GST_TAG_MERGE_REPLACE);
- gst_tag_list_free (tags);
+ gst_tag_list_unref (tags);
} else {
parse->priv->tags = tags;
}
@@ -1060,7 +1060,7 @@ gst_jpeg_parse_change_state (GstElement * element, GstStateChange transition)
case GST_STATE_CHANGE_PAUSED_TO_READY:
gst_adapter_clear (parse->priv->adapter);
if (parse->priv->tags) {
- gst_tag_list_free (parse->priv->tags);
+ gst_tag_list_unref (parse->priv->tags);
parse->priv->tags = NULL;
}
break;