Re: PFPHASE_LOCK
John Rohlf (jrohlf++at++tubes)
Wed, 30 Nov 94 10:41:22 PST
>
>
>
> We have a RE 2 with a Sirius board and want to generate
> frames at 50 Hz. The system is set up as follows:
> - setmon -x 1280x1024_50f
> - a very stable video sync source is attached to
> both the RE 2 framebuffer genlock and the Sirius genlock
> - our program calls:
> pfPhase(PFPHASE_LOCK);
> pfFrameRate(50.0f);
>
>
> However when the program starts we get the message...
>
> Performer Notice: Using xxHz video rate on screen 0
>
> The problem is that xx is not 50 but, somewhat randomly, one
> of 49, 49.5 or 50.
>
> Are we doing something wrong?
>
No. Performer times the video retrace rate when the
window is first opened. Sometimes the calculation is slightly off.
For now you can set the rate *after* Performer calculates it by:
extern float *_pfFieldRate;
*_pfFieldRate = 50.0f;
In 2.0 we should have pfVideoRate() which will set the video rate.
This archive was generated by hypermail 2.0b2
on Mon Aug 10 1998 - 17:50:42 PDT