Changeset 11213


Ignore:
Timestamp:
03/12/16 23:39:00 (6 years ago)
Author:
theparasol
Message:

DVBAPI:

Research and patch done by FrankGall (Tnx!)

  • Fix for audio stream type 0x06 not decoded (ticket #4436)
  • Fix for only first audio stream decoded on powervu channels (ticket #4437)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/module-dvbapi.c

    r11212 r11213  
    56785678        cs_hexdump(0, cw + (n * 8), 8, newcw, sizeof(newcw));
    56795679
    5680         if((memcmp(cw + (n * 8), demux[demux_id].lastcw[n], 8) != 0 || cwEmpty)
     5680        if((memcmp(cw + (n * 8), demux[demux_id].lastcw[n], 8) != 0 || cwEmpty || stream_id >1)
    56815681                && memcmp(cw + (n * 8), nullcw, 8) != 0) // check if already delivered and new cw part is valid!
    56825682        {
     
    61206120                        }
    61216121                        // Audio
    6122                         else if(stream_type == 0x03 || stream_type == 0x04 || stream_type == 0x0F || stream_type == 0x11
    6123                             || stream_type == 0x81 || (stream_type >= 0x83 && stream_type <= 0x87) || stream_type == 0x8A)
     6122                        else if(stream_type == 0x03 || stream_type == 0x04 || stream_type == 0x06 || stream_type == 0x0F
     6123                            || stream_type == 0x11 || stream_type == 0x81 || (stream_type >= 0x83 && stream_type <= 0x87)
     6124                            || stream_type == 0x8A)
    61246125                        {
    61256126                            cw = er->cw_ex.audio[key_pos_a];
Note: See TracChangeset for help on using the changeset viewer.