.\" Automatically generated by Pandoc 3.1.3 .\" .\" Define V font for inline verbatim, using C font in formats .\" that render this, and otherwise B font. .ie "\f[CB]x\f[]"x" \{\ . ftr V B . ftr VI BI . ftr VB B . ftr VBI BI .\} .el \{\ . ftr V CR . ftr VI CI . ftr VB CB . ftr VBI CBI .\} .TH "ALLEGRO_VIDEO_EVENT_TYPE" "3alleg5" "" "Allegro reference manual" "" .hy .SH NAME .PP ALLEGRO_VIDEO_EVENT_TYPE - Allegro 5 API .SH SYNOPSIS .IP .nf \f[C] #include enum ALLEGRO_VIDEO_EVENT_TYPE \f[R] .fi .SH DESCRIPTION .PP Events sent by al_get_video_event_source(3alleg5). .SS ALLEGRO_EVENT_VIDEO_FRAME_SHOW .PP This event is sent when it is time to show a new frame. Once you receive this event, you can draw the current frame (as returned by al_get_video_frame(3alleg5)). al_get_video_frame(3alleg5) will continue returning the same frame until the next ALLEGRO_EVENT_VIDEO_FRAME_SHOW is sent. .TP user.data1 (ALLEGRO_VIDEO *) The video which generated the event. .SH SINCE .PP 5.1.0 .SS ALLEGRO_EVENT_VIDEO_FINISHED .PP This event is sent when the video is finished. Depending on the backend, it may be possible to seek to an earlier part of the video and set the video to play to resume playback. .TP user.data1 (ALLEGRO_VIDEO *) The video which generated the event. .SH SINCE .PP 5.1.0