• wm4's avatar
    avformat/vobsub: compare correct packet stream IDs · a47ad06b
    wm4 authored
    The stream ID is essentially an arbitrary number defined by the .idx
    file headers. They have to match the IDs in the .sub stream. The vobsub
    demuxer assumed the IDs would just start from 0, increassing by 1 for
    each stream. This is not correct. In the sample I had, the IDs were
    starting from 1, leading to no subtitles being displayed at all.
    
    Fix this by using the correct stream ID.
    Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
    a47ad06b
mpeg.c 33.5 KB