[FFmpeg-cvslog] lavf/utils: ignore subtitle timestamps in timings calculation

Michael Niedermayer michaelni at gmx.at
Wed Oct 5 21:49:57 CEST 2011


On Wed, Oct 05, 2011 at 02:09:02PM +0200, Nicolas George wrote:
> Le nonidi 9 vendémiaire, an CCXX, Michael Niedermayer a écrit :
> > -            if (st->codec->codec_id == CODEC_ID_DVB_TELETEXT) {
> > +            if (st->codec->codec_id == CODEC_ID_DVB_TELETEXT || st->codec->codec_type == AVMEDIA_TYPE_SUBTITLE) {
> 
> I may be wrong, but it seems to me that the first condition implies the
> second, and thus is redundant.

I agree, Fixed locally

[...]

-- 
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
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-cvslog/attachments/20111005/85f4c823/attachment.asc>


More information about the ffmpeg-cvslog mailing list