aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Zelend <ace20022@xbmc.org>2013-10-25 12:28:30 -0700
committerAndreas Zelend <ace20022@xbmc.org>2013-10-25 12:28:30 -0700
commit362ee299c274221ab0186655b5f4d96730cfa043 (patch)
tree0875d200794ce7d87bd481b0593af6352490d7d0
parent1feb7a278d8b31da855bcd467f0311e4806febec (diff)
parent288d4ac9f5530bc9638ef3118c0948880c1eccce (diff)
Merge pull request #3496 from ace20022/fix_ext_flag_detection
[Util] Fix detection of external subtitles' flags.
-rw-r--r--xbmc/Util.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/xbmc/Util.cpp b/xbmc/Util.cpp
index 260f3c08a9..e85b54938c 100644
--- a/xbmc/Util.cpp
+++ b/xbmc/Util.cpp
@@ -2188,10 +2188,10 @@ void CUtil::GetExternalStreamDetailsFromFilename(const CStdString& strVideo, con
}
StringUtils::Trim(name);
info.name = StringUtils::RemoveDuplicatedSpacesAndTabs(name);
-
- if (info.flag == 0x1111)
- info.flag = CDemuxStream::FLAG_NONE;
}
+ if (info.flag == 0x1111)
+ info.flag = CDemuxStream::FLAG_NONE;
+
CLog::Log(LOGDEBUG, "%s - Language = '%s' / Name = '%s' / Flag = '%u' from %s", __FUNCTION__, info.language.c_str(), info.name.c_str(), info.flag, strStream.c_str());
}