mirror of
https://github.com/mpv-player/mpv
synced 2025-01-30 03:32:50 +00:00
Attempt a simple hack to fix -ac hwdts
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30288 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
52b2e49c29
commit
071490a7a5
@ -147,6 +147,9 @@ static int preinit(sh_audio_t *sh)
|
||||
sh->channels = 2;
|
||||
sh->samplesize = 2;
|
||||
sh->sample_format = AF_FORMAT_AC3_BE;
|
||||
// HACK for DTS where useless swapping can't easily be removed
|
||||
if (sh_audio->format == 0x2001)
|
||||
sh->sample_format = AF_FORMAT_AC3_NE;
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user