truemotion1: use the AVFrame API properly.