//fprintf(stderr, "displaying type %i with delay %lli)\n", p_vpar->synchro.fifo[p_vpar->synchro.i_fifo_start].i_image_type, i_delay);
displaydate=fifo->buffer[fifo->i_start]->i_pts;
if(displaydate)fprintf(stderr,"displaying type %i at %lli, (time %lli, delta %lli)\n",p_vpar->synchro.fifo[p_vpar->synchro.i_fifo_start].i_image_type,displaydate,mdate()+1000000,displaydate-mdate()-1000000);