fix last modif.

git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@250 3f6dc0c8-ddfe-455d-9043-3cd528dc4637
This commit is contained in:
smorlat 2009-02-09 15:19:31 +00:00
parent 7185ae1858
commit 9d28bf4cd1

View file

@ -468,7 +468,7 @@ static void process_frame(MSFilter *f, mblk_t *inm){
/* timestamp used by ffmpeg, unset here */
pict.pts=AV_NOPTS_VALUE;
if (s->framenum==(int)s->fps*2 || s->framenum==(int)s->fps*4){
if (s->framenum==(int)(s->fps*2.0) || s->framenum==(int)(s->fps*4.0)){
/*sends an I frame at 2 seconds and 4 seconds after the beginning of the call*/
s->req_vfu=TRUE;
}