fix null list

This commit is contained in:
Jacek Jendrzej
2017-10-24 18:32:36 +02:00
committed by TangoCash
parent d17ffb727b
commit 95ff777250

View File

@@ -383,6 +383,8 @@ cPlayback::~cPlayback()
{
lt_info( "%s:%s\n", FILENAME, __FUNCTION__);
//FIXME: all deleting stuff is done in Close()
if (m_stream_tags)
gst_tag_list_free(m_stream_tags);
}
//Used by Fileplay
@@ -418,9 +420,6 @@ void cPlayback::Close(void)
lt_info( "%s:%s - GST bus handler closed\n", FILENAME, __FUNCTION__);
}
if (m_stream_tags)
gst_tag_list_free(m_stream_tags);
// close gst
if (m_gst_playbin)
{