[FFmpeg-devel] [PATCH] timestamp discontinuity in subtitles is OK
Mon Oct 6 12:05:41 CEST 2008
On Mon, Oct 06, 2008 at 08:24:45AM -0000, Wolfram Gloger wrote:
> > i think there is a easier solution
> > just check for AVFMT_TS_DISCONT which would prevent misdetection in all
> > containers that do not allow discontinuities.
> But we _do_ have containers with AVFMT_TS_DISCONT which can have
> subtitles in them (dvbsub in mpegts, dvdsub in mpeg), so this wouldn't
when discontinuities are allowed, then they likely are also allowed
between subtitle packets (but if you disagree, feel free to quote the specs,
id be happy to hear what they say ...),
thus whichever way is used to detect them, the detection should
be needed between subtitle packets as well.
a check for AVFMT_TS_DISCONT is correct, one for subtitles is not AFAICS.
The real question is what do the dvbsub/dvdsub specs say about
PS: yes, links to the dvd/dvb sub specs are welcome ...
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
No human being will ever know the Truth, for even if they happen to say it
by chance, they would not even known they had done so. -- Xenophanes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: Digital signature
More information about the ffmpeg-devel