X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=cl_video_libavw.c;h=10e4756246aaa7387388081bd1463dbda59a6859;hb=1c1c1d842e8930e8c09eea8e877f07a829858d5a;hp=c36622134a905b8725bfa90584ff7f2203611461;hpb=7ca9ce4420b332de3fa6f2d6beaa437f171ab97c;p=xonotic%2Fdarkplaces.git diff --git a/cl_video_libavw.c b/cl_video_libavw.c index c3662213..10e47562 100644 --- a/cl_video_libavw.c +++ b/cl_video_libavw.c @@ -117,9 +117,9 @@ typedef struct libavwstream_s } libavwstream_t; -cvar_t cl_video_libavw_minwidth = {CVAR_SAVE, "cl_video_libavw_minwidth", "0", "if videos width is lesser than minimal, thay will be upscaled"}; -cvar_t cl_video_libavw_minheight = {CVAR_SAVE, "cl_video_libavw_minheight", "0", "if videos height is lesser than minimal, thay will be upscaled"}; -cvar_t cl_video_libavw_scaler = {CVAR_SAVE, "cl_video_libavw_scaler", "1", "selects a scaler for libavcode played videos. Scalers are: 0 - bilinear, 1 - bicubic, 2 - x, 3 - point, 4 - area, 5 - bicublin, 6 - gauss, 7 - sinc, 8 - lanczos, 9 - spline."}; +cvar_t cl_video_libavw_minwidth = {CF_ARCHIVE, "cl_video_libavw_minwidth", "0", "if videos width is lesser than minimal, thay will be upscaled"}; +cvar_t cl_video_libavw_minheight = {CF_ARCHIVE, "cl_video_libavw_minheight", "0", "if videos height is lesser than minimal, thay will be upscaled"}; +cvar_t cl_video_libavw_scaler = {CF_ARCHIVE, "cl_video_libavw_scaler", "1", "selects a scaler for libavcode played videos. Scalers are: 0 - bilinear, 1 - bicubic, 2 - x, 3 - point, 4 - area, 5 - bicublin, 6 - gauss, 7 - sinc, 8 - lanczos, 9 - spline."}; // video extensions const char* libavw_extensions[] = @@ -355,7 +355,7 @@ static void libavw_message(int level, const char *message) Con_Printf(CON_ERROR "LibAvcodec panic: %s\n", message); } -qboolean LibAvW_OpenLibrary(void) +qbool LibAvW_OpenLibrary(void) { int errorcode;