1
0
Fork 0

HACK: Disable tb_unreliable, preserve original fps information.

This commit is contained in:
Hendrik Leppkes 2011-04-15 18:09:48 +02:00
parent 10a8af3417
commit 4fa8a07c5c
Signed by: hendrik
GPG Key ID: 846079A4B0A7C1B5
1 changed files with 2 additions and 2 deletions

View File

@ -2313,14 +2313,14 @@ static int tb_unreliable(AVFormatContext *ic, AVStream *st)
: st->time_base);
if (time_base.den >= 101LL * time_base.num ||
time_base.den < 5LL * time_base.num ||
time_base.den < 5LL * time_base.num/* ||
// c->codec_tag == AV_RL32("DIVX") ||
// 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_HEVC ||
c->codec_id == AV_CODEC_ID_H264)
c->codec_id == AV_CODEC_ID_H264*/)
return 1;
return 0;
}