mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 23:13:16 +02:00
check m_stream_tags if not NULL
This commit is contained in:
@@ -1014,7 +1014,9 @@ void cPlayback::GetMetadata(std::vector<std::string> &keys, std::vector<std::str
|
||||
keys.clear();
|
||||
values.clear();
|
||||
|
||||
GstTagList *meta_list = gst_tag_list_copy(m_stream_tags);
|
||||
GstTagList *meta_list = NULL;
|
||||
if(m_stream_tags)
|
||||
meta_list = gst_tag_list_copy(m_stream_tags);
|
||||
|
||||
if (meta_list == NULL)
|
||||
return;
|
||||
|
Reference in New Issue
Block a user