From f6ea07afd139ecfe76f9a72e4c736d94a1e67820 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Sat, 17 Oct 2015 17:00:37 +0300 Subject: [PATCH] Substitute "unknown" if channel language can't be determined Not all container formats have the appropriate tags. --- source/xinestream.cpp | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/source/xinestream.cpp b/source/xinestream.cpp index 8099f3b..7317f7c 100644 --- a/source/xinestream.cpp +++ b/source/xinestream.cpp @@ -172,16 +172,20 @@ void XineStream::update_channels() audio_channels.resize(n_audio); for(unsigned i=0; i