mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-27 07:23:11 +02:00
check if tag is gst list
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user