mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 15:08:53 +00:00
gst_tag_list_free -> gst_tag_list_unref
This commit is contained in:
parent
a24a87484e
commit
241419b46d
2 changed files with 3 additions and 3 deletions
|
@ -331,7 +331,7 @@ gst_ffmpegdemux_close (GstFFMpegDemux * demux)
|
||||||
if (stream->pad)
|
if (stream->pad)
|
||||||
gst_element_remove_pad (GST_ELEMENT (demux), stream->pad);
|
gst_element_remove_pad (GST_ELEMENT (demux), stream->pad);
|
||||||
if (stream->tags)
|
if (stream->tags)
|
||||||
gst_tag_list_free (stream->tags);
|
gst_tag_list_unref (stream->tags);
|
||||||
g_free (stream);
|
g_free (stream);
|
||||||
}
|
}
|
||||||
demux->streams[n] = NULL;
|
demux->streams[n] = NULL;
|
||||||
|
@ -1105,7 +1105,7 @@ gst_ffmpegdemux_read_tags (GstFFMpegDemux * demux)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!hastag) {
|
if (!hastag) {
|
||||||
gst_tag_list_free (tlist);
|
gst_tag_list_unref (tlist);
|
||||||
tlist = NULL;
|
tlist = NULL;
|
||||||
}
|
}
|
||||||
return tlist;
|
return tlist;
|
||||||
|
|
|
@ -150,7 +150,7 @@ run_check_for_file (const gchar * filename, CheckTagsFunc * check_func)
|
||||||
tags = read_tags_from_file (filename, FALSE);
|
tags = read_tags_from_file (filename, FALSE);
|
||||||
fail_unless (tags != NULL, "Failed to extract tags from '%s'", filename);
|
fail_unless (tags != NULL, "Failed to extract tags from '%s'", filename);
|
||||||
check_func (tags, filename);
|
check_func (tags, filename);
|
||||||
gst_tag_list_free (tags);
|
gst_tag_list_unref (tags);
|
||||||
}
|
}
|
||||||
|
|
||||||
#define tag_list_has_tag(taglist,tag) \
|
#define tag_list_has_tag(taglist,tag) \
|
||||||
|
|
Loading…
Reference in a new issue