mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 23:13:16 +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:
|
case GST_MESSAGE_TAG:
|
||||||
{
|
{
|
||||||
GstTagList *tags, *result;
|
GstTagList *tags = NULL, *result = NULL;
|
||||||
gst_message_parse_tag(msg, &tags);
|
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);
|
result = gst_tag_list_merge(m_stream_tags, tags, GST_TAG_MERGE_REPLACE);
|
||||||
if (result)
|
if (result)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user