Skip to content

cf_video_next_frame

Category: video
GitHub: cute_video.h


Decodes exactly one frame, ignoring any clock.

bool cf_video_next_frame(CF_Video* video);
Parameters Description
video The video.

Return Value

Returns true if a frame was decoded, false at the end of the file or on a broken one.

Remarks

This is the one to use to walk a video frame by frame -- to pull thumbnails out of it, or to drive playback off something other than wall-clock time. Looping does not apply here; the end of the file is the end.

CF_Video
cf_video_update
cf_video_frame
cf_video_texture