Skip to content

Commit 1e261de

Browse files
committed
yt-dlp: исправлена опечатка.
1 parent 7c7b14d commit 1e261de

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/apps/mplayerc/PlayerYtDlp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -693,7 +693,7 @@ void YT_DLP::FilterAudioFormats(const CStringA& audioLang)
693693
}
694694

695695
if (lang_preferred.GetLength()) {
696-
mAudioFormats.erase(std::remove_if(mAudioFormats.begin(), mAudioFormats.end(), [&audioLang](yt_aformat_t a) { return a.language != audioLang; }), mAudioFormats.end());
696+
mAudioFormats.erase(std::remove_if(mAudioFormats.begin(), mAudioFormats.end(), [&lang_preferred](yt_aformat_t a) { return a.language != lang_preferred; }), mAudioFormats.end());
697697
}
698698
}
699699

0 commit comments

Comments
 (0)