diff options
author | wm4 <nfxjfg@googlemail.com> | 2015-09-21 12:09:08 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-10-08 15:21:45 +0200 |
commit | eca7b0dccecea4c2a6adf75f5ea9a595a971eadc (patch) | |
tree | 2f32d0ed7d6ca464179756d6e9dda4f7db15c0e8 /libswscale/swscale.h | |
parent | 64b659673a1ccc74b219b364f58bcd7b8dddb256 (diff) | |
download | ffmpeg-eca7b0dccecea4c2a6adf75f5ea9a595a971eadc.tar.gz |
avformat/vobsub: compare correct packet stream IDs
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: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit a47ad06baf6c0db6d47a5531d6d4ee0511f44eac)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libswscale/swscale.h')
0 files changed, 0 insertions, 0 deletions