al_seek_video(3)
π al_seek_video(3) β Allegro 5 API, but make it make sense π
okay bestie, you're looking at a page from the Allegro reference manual. It's short, it's sweet, and it's giving βseek the video, but read the fine print.β Let's go π
πΈ NAME πΈ
al_seek_video β Allegro 5 API
β¨ SYNOPSIS β¨
#include <allegro5/allegro_video.h>
bool al_seek_video(ALLEGRO_VIDEO *video, double pos_in_seconds)
π DESCRIPTION π
So you wanna seek to a different position in the video? Say less.
Call al_seek_video and hand it your ALLEGRO_VIDEO *video plus a double pos_in_seconds. The function is declared to return bool.
But here's the tea, bestie: currently only seeking to the beginning of the video is supported. Like, that's the whole supported seek. Don't be out here expecting every timestamp to slay β the page does not promise that, and I'm not adding claims it doesn't make. π
β SINCE β
5.1.0 β yes, this one has been around since then, no cap β¨
source check: this is from the Allegro reference manual, page al_seek_video(3). The original footer didn't print a date, so I'm not inventing one β bye bestie, go seek responsibly π«Άπ
π¦ where this page comes from
- arch rolling: allegro 5.2.11.3-2 Β· Zlib AND BSD-3-Clause AND OFL-1.1 AND LicenseRef-Custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms