TS registration priority problem for HDMV
Need to check for registration_type != TS_REGISTRATION_HDMV before calling PMTSetupEs0x83()
I have a commercial bluray that is incorrectly recognized as "DVD LPCM Audio" because of this and thus no audio output. The code below seems to work, but that might not a good way to do it:
if( registration_type == TS_REGISTRATION_HDMV )
PMTSetupEsHDMV( pid, p_es );
else
PMTSetupEs0x83( p_pmt, pid );