• Vittorio Giovara's avatar
    mov: Implement support for multiple sample description tables · 76729970
    Vittorio Giovara authored
    Store data from each stsd in a separate extradata buffer, keep track of
    the stsc index for read and seek operations, switch buffers when the
    index differs. Decoder is notified with an AV_PKT_DATA_NEW_EXTRADATA
    packet side data.
    
    Since H264 supports this notification, and can be reset midstream, enable
    this feature only for multiple avcC's. All other stsd types (such as
    hvc1 and hev1) need decoder-side changes, so they are left disabled for
    now.
    
    This is implemented only in non-fragmented MOVs.
    Signed-off-by: 's avatarVittorio Giovara <vittorio.giovara@gmail.com>
    76729970
isom.h 7.52 KB