[vlc-devel] [PATCH] [codec/dirac.c] Fix aspect ratio signalling and presentation time stamps

Rémi Denis-Courmont rdenis at simphalempin.com
Sun Jun 29 15:16:00 CEST 2008

Le dimanche 29 juin 2008 14:44:00 David Flynn, vous avez écrit :
> - Add aspect ratio calculation rather than fixed 4:3
> - Do not set p_pic->date = p_block->i_pts, p_block will be several frames
>   ahead of p_pic, worse it isn't in presentation order.  Since there is
>   no method of tagging input blocks with PTS through the decoder, fake
>   the PTS at output based upon the an initial PTS and frame rate.

Is there any specific reason why you don't use the date_* functions from 
vlc_mtime.h ?

Rémi Denis-Courmont

More information about the vlc-devel mailing list