avformat/utils: add gif to tb_unreliable()

This improves the used timebases when gif is the source

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer
2014-04-28 15:14:41 +02:00
parent 18af0ce62d
commit 4394f82f52
11 changed files with 1220 additions and 1220 deletions

View File

@@ -2868,6 +2868,7 @@ static int tb_unreliable(AVCodecContext *c)
// c->codec_tag == AV_RL32("XVID") ||
c->codec_tag == AV_RL32("mp4v") ||
c->codec_id == AV_CODEC_ID_MPEG2VIDEO ||
c->codec_id == AV_CODEC_ID_GIF ||
c->codec_id == AV_CODEC_ID_H264)
return 1;
return 0;