Commits on Source (2)
-
HAVE_LIBPLACEBO_SCALE checks the version of libplacebo, but if libplacebo is explicitly disabled (but libplacebo_scale enabled), then it failed.
8f758454 -
The upscaler and downscaler options are valid for all OpenGL vouts. The fact that they use libplacebo is an implementation detail (they could support another backend later). In practice, this also avoids to crash if libplacebo is disabled: the variables were defined only if HAVE_LIBPLACEBO, but they were read in all cases. Fixes #26315
6301793c
Showing
- modules/video_output/libplacebo/utils.h 26 additions, 0 deletionsmodules/video_output/libplacebo/utils.h
- modules/video_output/opengl/Makefile.am 3 additions, 0 deletionsmodules/video_output/opengl/Makefile.am
- modules/video_output/opengl/gl_scale.h 111 additions, 0 deletionsmodules/video_output/opengl/gl_scale.h
- modules/video_output/opengl/pl_scale.c 7 additions, 2 deletionsmodules/video_output/opengl/pl_scale.c
- modules/video_output/opengl/vout_helper.c 2 additions, 2 deletionsmodules/video_output/opengl/vout_helper.c
- modules/video_output/opengl/vout_helper.h 2 additions, 14 deletionsmodules/video_output/opengl/vout_helper.h
modules/video_output/opengl/gl_scale.h
0 → 100644