[FFmpeg-cvslog] r17572 - in trunk/libavcodec: mpeg12.c mpegvideo_parser.c

Michael Niedermayer michaelni
Thu Feb 26 14:24:52 CET 2009


On Thu, Feb 26, 2009 at 02:01:37PM +0100, Michael Niedermayer wrote:
> On Thu, Feb 26, 2009 at 12:19:51AM -0800, Baptiste Coudurier wrote:
> > Michael Niedermayer wrote:
> > > On Wed, Feb 25, 2009 at 05:05:59PM -0800, Baptiste Coudurier wrote:
> > >> On 2/25/2009 3:41 PM, Michael Niedermayer wrote:
> > >>> On Wed, Feb 25, 2009 at 03:00:02PM -0800, Baptiste Coudurier wrote:
> > >>>> On 2/25/2009 2:29 PM, Michael Niedermayer wrote:
> [...]
> > Here are some problems:
> > 
> > ffmpeg.c:
> >               if (ist->st->codec->time_base.num != 0) {
> >                    ist->next_pts += ((int64_t)AV_TIME_BASE *
> >                                    ist->st->codec->time_base.num) /
> >                          ist->st->codec->time_base.den;
> >               }
> 
> this was not correct to begin with

ive fixed it for the case when a parser is available
without one the frame duration cannot be known and may or may not be correct

can you confirm that this fixes the issue for you? or is there something else

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

It is not what we do, but why we do it that matters.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-cvslog/attachments/20090226/96349510/attachment.pgp>



More information about the ffmpeg-cvslog mailing list