Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/mpc-hc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorUnderground78 <underground78@users.sourceforge.net>2013-08-21 02:34:25 +0400
committerUnderground78 <underground78@users.sourceforge.net>2013-09-04 22:04:24 +0400
commit4f7e69283a7c7dd58858e506dd51f92a1dbd8efa (patch)
treec608dbe1a59d0f65e3c91757d3ca66f343b4cff4 /src
parentf39c7a6e56b2158c5b46d04237521f3c823ce17b (diff)
Skip initial audio track selection process if only one track is available.
Diffstat (limited to 'src')
-rw-r--r--src/mpc-hc/MainFrm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mpc-hc/MainFrm.cpp b/src/mpc-hc/MainFrm.cpp
index 06df8cc91..48eeb9384 100644
--- a/src/mpc-hc/MainFrm.cpp
+++ b/src/mpc-hc/MainFrm.cpp
@@ -11518,7 +11518,7 @@ DWORD CMainFrame::SetupAudioStreams()
}
DWORD cStreams = 0;
- if (pSS && SUCCEEDED(pSS->Count(&cStreams)) && cStreams > 0) {
+ if (pSS && SUCCEEDED(pSS->Count(&cStreams)) && cStreams > 1) {
const CAppSettings& s = AfxGetAppSettings();
CAtlArray<CString> langs;