Skip to content

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 );


https://github.com/videolan/vlc/commit/cb2fda7d3ad67c69f1b64209c25cc4425f79945c#commitcomment-6511071

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information