summaryrefslogtreecommitdiff
path: root/gst/jpegformat
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
parenta7037cd0e30fa59d26627fac27241e33d543c10c (diff)
gst_tag_list_free -> gst_tag_list_unref
Diffstat (limited to 'gst/jpegformat')
-rw-r--r--gst/jpegformat/gstjifmux.c2
-rw-r--r--gst/jpegformat/gstjpegparse.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/gst/jpegformat/gstjifmux.c b/gst/jpegformat/gstjifmux.c
index 82cd18a4e..9329f28ff 100644
--- a/gst/jpegformat/gstjifmux.c
+++ b/gst/jpegformat/gstjifmux.c
@@ -638,7 +638,7 @@ gst_jif_mux_mangle_markers (GstJifMux * self)
}
if (tags && cleanup_tags)
- gst_tag_list_free (tags);
+ gst_tag_list_unref (tags);
return modified;
}
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;