AC3/DTS pass-through setting is not honored on the RaspberryPi
When setting AC3/DTS pass-through in webadmin (Audio settings H3 and the AC3/DTS pass-through checkbox checked) the -p option isn't being set for omxplayer. From the log the command still looks like:
(Child's) Play() - cmdline: omxplayer -ohdmi -r --no-keys -l00:00:00 /home/public/data/videos/1.82 TB (sdb1) WDC_WD20EARS-00 [36]/Brave (2012)/Brave (2012) 1080p BluRay x264 AC3 HQ NL Subs.mkv <0xb5fa1460>
I tested the above from the commandline with the -p option like:
omxplayer -ohdmi -r -p Brave\ \(2012\)\ 1080p\ BluRay\ x264\ AC3\ HQ\ NL\ Subs.mkv
Which made AC3/DTS pass-through working.
I found in OMXPlayerInterface.cpp, line 701 the reference to setting this option:
701 // set the passthrough option (if enabled)
702 if (m_bPassthrough) {
703 char *passthru = (char *)"-p";
704 args.push_back(passthru);
705 }