[vlc-commits] [Git][videolan/vlc][master] 2 commits: vout: clear borrowed palette from YUVP scaling fmtout

Steve Lhomme (@robUx4) gitlab at videolan.org
Tue Aug 8 15:26:34 UTC 2023



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
82459cfb by Francois Cartegnie at 2023-08-08T15:03:20+00:00
vout: clear borrowed palette from YUVP scaling fmtout

- - - - -
1046bc8d by Francois Cartegnie at 2023-08-08T15:03:20+00:00
vout: subpictures: clear borrowed palette after filtering

can't tell what the module will try to clean

- - - - -


1 changed file:

- src/video_output/vout_subpictures.c


Changes:

=====================================
src/video_output/vout_subpictures.c
=====================================
@@ -996,8 +996,11 @@ static void SpuRenderRegion(spu_t *spu,
 
                 scale_yuvp->fmt_out.video = region->fmt;
                 scale_yuvp->fmt_out.video.i_chroma = chroma_list[0];
+                scale_yuvp->fmt_out.video.p_palette = NULL;
 
                 picture = scale_yuvp->ops->filter_video(scale_yuvp, picture);
+
+                scale_yuvp->fmt_in.video.p_palette = NULL;
                 assert(picture == NULL || !picture_HasChainedPics(picture)); // no chaining
                 if (!picture) {
                     /* Well we will try conversion+scaling */



View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/6f7ea7b2e4327d62284b40b854878016f632ca11...1046bc8d0eddac621ab94fffd40e1fc4ccd2f032

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/6f7ea7b2e4327d62284b40b854878016f632ca11...1046bc8d0eddac621ab94fffd40e1fc4ccd2f032
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