title: Synchronize video to openGL animation
body: <p>I am trying to sync a video to an animation drawn using openGL on iPad, and there are two things I am not sure how to do:</p>
  
  <ol>
  <li>Find the currently playing video frame.</li>
  <li>Make sure the update of the video and update of the openGL drawing occurs at the exact same time, as even a slight sync issue may cause visual artifacts.</li>
  </ol>