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 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.
> ---
>  libavformat/mpeg.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

applied

thanks

PS: is there a public sample/testcase for this ?

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Complexity theory is the science of finding the exact solution to an
approximation. Benchmarking OTOH is finding an approximation of the exact

Attachment: signature.asc
Description: Digital signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to