Replace gst_tag_list_free with gst_tag_list_unref

This commit is contained in:
Jonas Kvinge 2020-10-17 04:54:46 +02:00
parent 0235b19801
commit 5b21118a8c
2 changed files with 2 additions and 2 deletions

View File

@ -199,7 +199,7 @@ void CddaSongLoader::LoadSongs() {
musicbrainz_client->StartDiscIdRequest(musicbrainz_discid);
g_free(string_mb);
gst_message_unref(msg_tag);
gst_tag_list_free(tags);
gst_tag_list_unref(tags);
}
}
#endif

View File

@ -949,7 +949,7 @@ void GstEnginePipeline::TagMessageReceived(GstMessage *msg) {
}
}
gst_tag_list_free(taglist);
gst_tag_list_unref(taglist);
emit MetadataFound(id(), bundle);