[Ffmpeg-devel] Re: [Ffmpeg-cvslog] r7394 - trunk/libavformat/utils.c

Michael Niedermayer michaelni
Tue Jan 2 19:31:11 CET 2007


Hi

On Tue, Jan 02, 2007 at 07:47:00PM +0200, Ismail D?nmez wrote:
> 02 Oca 2007 Sal 19:06 tarihinde, Ismail D?nmez ??unlar?? yazm????t??: 
> > 01 Oca 2007 Pts 23:17 tarihinde, michael ??unlar?? yazm????t??:
> > > Author: michael
> > > Date: Mon Jan  1 22:17:14 2007
> > > New Revision: 7394
> > >
> > > Modified:
> > >    trunk/libavformat/utils.c
> > >
> > > Log:
> > > revert regression test breaking change
> > >
> > >
> > > Modified: trunk/libavformat/utils.c
> > > =========================================================================
> > >== === --- trunk/libavformat/utils.c	(original)
> > > +++ trunk/libavformat/utils.c	Mon Jan  1 22:17:14 2007
> > > @@ -1960,7 +1960,7 @@
> > >              if(st->codec->codec_id == CODEC_ID_RAWVIDEO &&
> > > !st->codec->codec_tag && !st->codec->bits_per_sample)
> > > st->codec->codec_tag= avcodec_pix_fmt_to_codec_tag(st->codec->pix_fmt);
> > >
> > > -            if(duration_count[i]>1
> > > +            if(1
> > >                 && (st->codec->time_base.num*101LL <=
> > > st->codec->time_base.den || st->codec->codec_id == CODEC_ID_MPEG2VIDEO)
> > > /*&& //FIXME we should not special case mpeg2, but this needs testing
> > > with non mpeg2 ...
> > > st->time_base.num*duration_sum[i]/duration_count[i]*101LL >
> > > st->time_base.den*/){ _______________________________________________
> > > ffmpeg-cvslog mailing list
> > > ffmpeg-cvslog at mplayerhq.hu
> > > http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-cvslog
> >
> > This breaks framerate_misdetected.wmv :(
> 
> Reverting that gives 1000fps now, shall I upload a new sample?

i have framerate_misdetected.wmv and it is fine with ffmpeg svn

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Concerning the gods, I have no means of knowing whether they exist or not
or of what sort they may be, because of the obscurity of the subject, and
the brevity of human life -- Protagoras
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070102/6ef03320/attachment.pgp>



More information about the ffmpeg-devel mailing list