gettext-0.22 became stricter and started to validate format strings. Fix
the typos.
Bug: https://bugs.gentoo.org/909015
Signed-off-by: Sam James <sam@gentoo.org>
Some contribs may be disabled depending on the license chosen.
By default we build with GPLv3 compatibility. libvlc-only builds may want
to restrict to LGPL v3 with ad-clause or LGPL v2.1 with ad-clause.
Some contribs may be disabled depending on the license chosen.
By default we build with GPLv3 compatibility. libvlc-only builds may want
to restrict to LGPL v3 with ad-clause or LGPL v2.1 with ad-clause.
faad is automatically picked when building for GPL and not picked
otherwise. We should never force it.
`vout_Stop` should be called even if the display is missing as it is
also charged to disable the window if its still open. The display NULL
check is done anyway at the correct place in `vout_Stop` itself.
This fixes an assert with the `display` stream output that never closes
the window because `input_resource_StopFreeVout` is not enforced
compared to the classic playback scenario.
Here's the assert fixed by this patch:
```
vlc: ../../src/video_output/video_output.c:1948: vout_Release: Assertion `!sys->window_enabled' failed.
[5] from 0x00007ffff6c5f29c in vout_Release+1019 at ../../src/video_output/video_output.c:1948
[6] from 0x00007ffff6c5ee9a in vout_Close+698 at ../../src/video_output/video_output.c:1926
[7] from 0x00007ffff6bce970 in DestroyVout+840 at ../../src/input/resource.c:159
[8] from 0x00007ffff6bd0609 in input_resource_Release+99 at ../../src/input/resource.c:334
[9] from 0x00007fffd89b6e68 in Close+274 at ../../modules/stream_out/display.c:265
```
Test the different missing orientation:
- ORIENT_TRANSPOSED is ORIENT_ROTATED_270 + HFLIP
- ORIENT_ANTITRANSPOSED is ORIENT_ROTATED_90 + HFLIP
- ORIENT_HFLIP is ORIENT_NORMAL + HFLIP
- ORIENT_VFLIP is ORIENT_ROTATED_180 + HFLIP
The current code is now able to rotate depending on the filters engine
orientation coming from the OpenGL provider, but it wasn't able to flip
yet. Because the orientation will rotate vertical flipping, only
horizontal flipping is needed for any direction flipping.
This commit adds support for those.
This test is able to use any offscreen opengl implementation available
to run the opengl filters engine on both GL Core and GL ES, and will
skip the test for one of those targets if no implementations are
available.
It currently mainly smoke-test the filters engine, while checking that
orientation handling is correct, and uses glReadPixels to check the
resulting rendered picture in a multi-platform way.
Libplacebo changes the current framebuffer when starting the pl_gpu
opengl instance, leading to invalid framebuffer operation when it's
being used for rendering afterwards.
During video_format_Setup(), the size, visible size and source aspect
ratio is defined for the given video_format_t instance, but those values
only make sense for a given orientation. Transforming the picture would
mean transform the coordinates, as seen in video_format_TransformBy().
To ensure the correct behaviour is found when transforming after the
setup, initialize the orientation to ORIENT_NORMAL as well.