wg <[EMAIL PROTECTED]> added the comment: If you care so much about AVPacket.duration, then why is it _not used_ in ffmpeg.c to compute AVInputStream.next_pts? IOW, duration is currently _never_ used to decide whether there is a discontinuity!
I don't want to hack a new patch that sets AVInputStream.next_pts based on AVPacket.duration _if_ that should ever be non-zero (currently not the case for all the subtitle demuxers) and set it to AV_NOPTS_VALUE otherwise. To do this just in the subtitle case, now _that_ would look silly. ______________________________________________________ FFmpeg issue tracker <[EMAIL PROTECTED]> <https://roundup.mplayerhq.hu/roundup/ffmpeg/issue356> ______________________________________________________
