[MPlayer-users] Head does not display PGS subtitles. ffmpeg issue?

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sat Aug 23 16:26:43 CEST 2014


On Sat, Aug 23, 2014 at 02:05:47PM +0200, Thomas Zander wrote:
> with recent head of mplayer and ffmpeg I can't get it to display pgs
> subtitles anymore.
> While diff'ing tarballs with an older ffmpeg snapshot I have (from
> April) I noticed quite some changes in ffmpeg/libavcodec/pgssubdec.c.
> Replacing this one file in head with the revision from April helps,
> and pgs subtitles are displayed again as expected.

Thanks for the report.

> Now I am wondering. Is this due to an API change in ffmpeg that we did
> not accomodate in mplayer or simply a bug in ffmpeg?

More or less an API change.
They decided to use insanely large durations to signal "show subtitle
until it is explicitly erased".
MPlayer didn't know that and instead ended up with an integer overflow,
so it thought it should display it for 0 time.
Fixed in r37257.


More information about the MPlayer-users mailing list