Michael Niedermayer <[EMAIL PROTECTED]> added the comment: On Sun, Feb 17, 2008 at 04:15:29PM -0000, wg wrote: [...] > The problem is, this duration cannot be known for a subtitle unless > you have an index for all packets. So I argue it should stay at 0 > (meaning indefinite) unless we have an index. And we have to deal > with that somehow. I really don't think adding magic "empty" > subtitle packets (how often?) in all demuxers is the way to go.
Yes that is what i meant, having duration 0 or next_pts-pts is fine. Just the case of setting it to a value != 0 and != next_pts-pts is what i consider wrong and where a magic "empty" packet should be added by the demuxer. It also knows when, that is after the shorter duration to cover the hole which otherwise would exist. [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB If you really think that XML is the answer, then you definitly missunderstood the question -- Attila Kinali ______________________________________________________ FFmpeg issue tracker <[EMAIL PROTECTED]> <https://roundup.mplayerhq.hu/roundup/ffmpeg/issue356> ______________________________________________________
