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

Nicolas George nicolas.george at normalesup.org
Wed Oct 5 14:09:02 CEST 2011


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.

Regards,

-- 
  Nicolas George
-------------- 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/0367618a/attachment.asc>


More information about the ffmpeg-cvslog mailing list