Mercurial > libavformat.hg
changeset 1966:1185d826c6a7 libavformat
analyze end condition must match r_fps selection condition
fixes fps for Channel\ 4\ News_Channel\ 4_20_10_2006_19_00_01.dvr-ms
author | michael |
---|---|
date | Fri, 30 Mar 2007 15:05:09 +0000 |
parents | f73b9a471583 |
children | 8c20d8c19e1f |
files | utils.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/utils.c Thu Mar 29 20:22:38 2007 +0000 +++ b/utils.c Fri Mar 30 15:05:09 2007 +0000 @@ -1697,7 +1697,7 @@ if (!has_codec_parameters(st->codec)) break; /* variable fps and no guess at the real fps */ - if( st->codec->time_base.den >= 101LL*st->codec->time_base.num + if( (st->codec->time_base.den >= 101LL*st->codec->time_base.num || st->codec->codec_id == CODEC_ID_MPEG2VIDEO) && duration_count[i]<20 && st->codec->codec_type == CODEC_TYPE_VIDEO) break; if(st->parser && st->parser->parser->split && !st->codec->extradata)