Claudio Ciccani via CVS wrote:
> CVSROOT:      /cvs/directfb
> Module name:  DirectFB-extra
> Changes by:   klan    20060112 13:11:22
> 
> Modified files:
>       interfaces/IDirectFBVideoProvider: 
>                                          idirectfbvideoprovider_ffmpeg.c 
> 
> Log message:
> Improved a bit Audio/Video syncronization:
> recompute video refresh time using the following equation
> [frame_delay_in_seconds = 1/rate + video_pts - audio_pts]
> and reduce audio buffer size to 120ms.

You can achieve 100% audio/video synchronization only by using
IFusionSoundStream::GetPresentationDelay() and use it in your
equations to calculate the next video frame to show.

-- 
Best regards,
   Denis Oliver Kropp

.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/                 |
"------------------------------------------"

_______________________________________________
directfb-cvs mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-cvs

Reply via email to