[vlc-commits] [Git][videolan/vlc][master] vout_subpictures: invalidate the rendered SPU cache when it's valid
Steve Lhomme (@robUx4)
gitlab at videolan.org
Sun Jul 20 13:28:57 UTC 2025
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
cae47ac7 by Steve Lhomme at 2025-07-20T12:24:29+00:00
vout_subpictures: invalidate the rendered SPU cache when it's valid
No need to invalidate if it's already invalid.
- - - - -
1 changed file:
- src/video_output/vout_subpictures.c
Changes:
=====================================
src/video_output/vout_subpictures.c
=====================================
@@ -1112,7 +1112,7 @@ static struct subpicture_region_rendered *SpuRenderRegion(spu_t *spu,
if ((apply_scale && (scale_size.w != SCALE_UNIT || scale_size.h != SCALE_UNIT)) || convert_chroma)
{
/* Destroy the cache if unusable */
- if (!subpicture_region_cache_IsValid(region)) {
+ if (subpicture_region_cache_IsValid(region)) {
const video_format_t *cachefmt = subpicture_region_cache_GetFormat(region);
bool is_changed = false;
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/cae47ac7508d9a401652b8b5a54c19f868bf724c
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/cae47ac7508d9a401652b8b5a54c19f868bf724c
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list