check if tag is gst list

Origin commit data
------------------
Branch: master
Commit: 50904a1825
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2017-11-11 (Sat, 11 Nov 2017)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2017-11-11 16:55:02 +01:00
parent e2c368551f
commit 817cc58791

View File

@@ -253,9 +253,12 @@ GstBusSyncReply Gst_bus_call(GstBus *bus, GstMessage *msg, gpointer user_data)
case GST_MESSAGE_TAG:
{
GstTagList *tags, *result;
GstTagList *tags = NULL, *result = NULL;
gst_message_parse_tag(msg, &tags);
if(tags != NULL || !GST_IS_TAG_LIST(tags))
break;
result = gst_tag_list_merge(m_stream_tags, tags, GST_TAG_MERGE_REPLACE);
if (result)
{