Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
a5c39d76 by Alexandre Janniaux at 2023-12-08T05:49:02+00:00
video_output: fix blend filter being opened in loop

Logs:

    main generic debug: looking for video blending module matching 
"any": 1 candidates
    main generic debug: using video blending module "blend"
    main blend debug: removing "video blending" module 
"blend"
    main generic debug: looking for video blending module matching 
"any": 1 candidates
    main generic debug: using video blending module "blend"
    main blend debug: removing "video blending" module 
"blend"

Test scenario:

    ./vlc --vout=dummy sample_with_subpicture

Regression from 1caf1afa38debdb7c7decb590557c2091120275e.

- - - - -


1 changed file:

- src/video_output/video_output.c


Changes:

=====================================
src/video_output/video_output.c
=====================================
@@ -1198,7 +1198,7 @@ static int PrerenderPicture(vout_thread_sys_t *sys, 
picture_t *filtered,
         }
 
         if (sys->spu_blend &&
-            video_format_IsSameChroma(&sys->spu_blend->fmt_out.video, 
&fmt_spu)) {
+            !video_format_IsSameChroma(&sys->spu_blend->fmt_out.video, 
&fmt_spu)) {
             filter_DeleteBlend(sys->spu_blend);
             sys->spu_blend = NULL;
         }



View it on GitLab: 
https://code.videolan.org/videolan/vlc/-/commit/a5c39d7647b35f0b81e36bf45ae0f1c162215bad

-- 
View it on GitLab: 
https://code.videolan.org/videolan/vlc/-/commit/a5c39d7647b35f0b81e36bf45ae0f1c162215bad
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance
_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to