X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=cl_video.h;h=97960b89bff97adc966530381ca661366260fe4f;hb=c93ec66dc54190ef125977180c15fca811c2144c;hp=4277124e65eef76f01558973cf7cd5c2d36d5f59;hpb=d8223fb0e07b62723f638fbf6b0db45d0d24d39f;p=xonotic%2Fdarkplaces.git diff --git a/cl_video.h b/cl_video.h index 4277124e..97960b89 100644 --- a/cl_video.h +++ b/cl_video.h @@ -59,6 +59,7 @@ typedef struct clvideo_s unsigned int (*getwidth) (void *stream); unsigned int (*getheight) (void *stream); double (*getframerate) (void *stream); + double (*getaspectratio) (void *stream); int (*decodeframe) (void *stream, void *imagedata, unsigned int Rmask, unsigned int Gmask, unsigned int Bmask, unsigned int bytesperpixel, int imagebytesperrow); // if a video is suspended, it is automatically paused (else we'd still have to process the frames)