diff options
Diffstat (limited to 'lib/service/servicemp3.cpp')
| -rw-r--r-- | lib/service/servicemp3.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/service/servicemp3.cpp b/lib/service/servicemp3.cpp index 331f7a24..f3f44177 100644 --- a/lib/service/servicemp3.cpp +++ b/lib/service/servicemp3.cpp @@ -766,7 +766,7 @@ void eServiceMP3::gstBusCall(GstBus *bus, GstMessage *msg) m_stream_tags = result; } gchar *g_audiocodec; - if (gst_tag_list_get_string(m_stream_tags, GST_TAG_AUDIO_CODEC, &g_audiocodec)) + if (gst_tag_list_get_string(tags, GST_TAG_AUDIO_CODEC, &g_audiocodec)) { std::vector<audioStream>::iterator IterAudioStream = m_audioStreams.begin(); while ( IterAudioStream->language_code.length() && IterAudioStream != m_audioStreams.end()) @@ -776,7 +776,7 @@ void eServiceMP3::gstBusCall(GstBus *bus, GstMessage *msg) else if ( g_strrstr(g_audiocodec, "AC-3 audio") ) IterAudioStream->type = audioStream::atAC3; gchar *g_language; - if ( gst_tag_list_get_string(m_stream_tags, GST_TAG_LANGUAGE_CODE, &g_language) ) + if ( gst_tag_list_get_string(tags, GST_TAG_LANGUAGE_CODE, &g_language) ) IterAudioStream->language_code = std::string(g_language); g_free (g_language); g_free (g_audiocodec); |
