Reimar Döffinger <[EMAIL PROTECTED]> added the comment:

On Wed, Sep 03, 2008 at 12:17:32PM +0000, Michael Niedermayer wrote:
> I do not want to see this repeat, so please accept that the problem is not
> the API but matroska & ass/saa and should be fixed in the related code.
> If ass/saa do contain the duration in the bitstream everything should be fine
> if not the bitstream as passed in AVPackets has to be changed by the matroska
> demuxer. This sounds nasty but i belive it is the least hackish solution if
> one wants things to work in more than just matroska->player/matroska
> 
> Alternative suggestions of course welcome, though i fear above is the cleanest

Probably it is, though the method that IIRC mov uses is possible as
well (though I fear it creates quite some ugliness for demuxing and
muxing): Generate an empty subtitle packet with the time stamp of the
end time for the original subtitle.

______________________________________________________
FFmpeg issue tracker <[EMAIL PROTECTED]>
<https://roundup.mplayerhq.hu/roundup/ffmpeg/issue588>
______________________________________________________

Reply via email to