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

Thomas Zander thomas.e.zander at googlemail.com
Sat Aug 23 19:48:14 CEST 2014


On 23 August 2014 16:26, Reimar Döffinger <Reimar.Doeffinger at gmx.de> wrote:
> 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.
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users


More information about the MPlayer-users mailing list