vda: get correctly the frame from h264 context.