[FFmpeg-devel] [RFC] [PATCH] ffmpeg vsync

Michael Niedermayer michaelni
Thu Jan 29 03:53:20 CET 2009


On Wed, Jan 28, 2009 at 02:41:55PM -0800, Baptiste Coudurier wrote:
> Hi guys,
> 
> I was looking an do_video_out function in ffmpeg lately, and I spoted
> this FIXME here since a long time.
> 
> I was wondering what exactly the goal to achieve for vdelta was.
> In the perfect scenario, vdelta should be 0, this is what happen if
> first pts == 0
> 
> Am I forgetting something ?

the regression tests arent passing with this patch here ...


[...]
>              if (verbose>2)
>                  fprintf(stderr, "*** drop!\n");
>          }else if (nb_frames > 1) {
> -            nb_frames_dup += nb_frames;
> +            nb_frames_dup += nb_frames-1;
>              if (verbose>2)
>                  fprintf(stderr, "*** %d dup!\n", nb_frames-1);
>          }

this one should be ok

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Opposition brings concord. Out of discord comes the fairest harmony.
-- Heraclitus
-------------- 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-devel/attachments/20090129/12259690/attachment.pgp>



More information about the ffmpeg-devel mailing list