Re: [FFmpeg-devel] [PATCH] avformat/vobsub: compare correct packet stream IDs

2015-09-21 Thread Michael Niedermayer
On Mon, Sep 21, 2015 at 12:09:08PM +0200, wm4 wrote: > 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 co

[FFmpeg-devel] [PATCH] avformat/vobsub: compare correct packet stream IDs

2015-09-21 Thread wm4
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, lea