Ignore:
Timestamp:
12/15/07 14:49:14 (16 years ago)
Author:
radscorpion
Message:

Decoder now can decode and play SV8 streams. It can be used along with old RadLight filter, which will take care of SV7 files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • dsfilters/demux_mpc/src/mpc_file.cpp

    r368 r371  
    5757
    5858        done = false;
     59
     60        // init extradata
     61        extradata[0] = 'M';
     62        extradata[1] = 'P';
     63        extradata[2] = 'C';
     64        extradata[3] = 'K';
     65        extradata_size = 4;
    5966
    6067        // now loop through a few packets
     
    8895        } while (!done);
    8996
     97        // insert a dummy AP packet
     98        uint8 *out = extradata + extradata_size;
     99        out[0] = 'A';
     100        out[1] = 'P';
     101        out[2] = 0x03;
     102        extradata_size += 3;
     103
    90104        // if there was a seek table, load it
    91105        if (seek_table_position != 0) {
Note: See TracChangeset for help on using the changeset viewer.