No surround sound from MKV files

I have many files that I have encoded with x264 and retained the DTS track. They play fine for me. Make sure you’ve gone into the audio settings and chosen the correct pass-through setting for your amplifier. Mine is connected via optical cable, and I have also checked off the formats that my amplifier supports (DTS and AC3). After I have made those settings I reboot the WDTV and it works.