X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=cl_video.h;h=97960b89bff97adc966530381ca661366260fe4f;hb=569bdf4312b50327055406243ec991c42cf06563;hp=4277124e65eef76f01558973cf7cd5c2d36d5f59;hpb=70b3c52211617e1d585a1bbe805c5fd47176bfd1;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)