[vlc-commits] [Git][videolan/vlc][master] lib: fix deadlock in libvlc_video_set_teletext on error paths

Felix Paul Kühne (@fkuehne) gitlab at videolan.org
Fri Mar 27 07:17:59 UTC 2026



Felix Paul Kühne pushed to branch master at VideoLAN / VLC


Commits:
342a1575 by Martin Finkel at 2026-03-27T07:41:54+01:00
lib: fix deadlock in libvlc_video_set_teletext on error paths

- - - - -


1 changed file:

- lib/video.c


Changes:

=====================================
lib/video.c
=====================================
@@ -460,6 +460,7 @@ void libvlc_video_set_teletext( libvlc_media_player_t *p_mi, int i_page )
             if (!is_key)
             {
                 libvlc_printerr("Invalid key action");
+                vlc_player_Unlock(player);
                 return;
             }
         }
@@ -469,6 +470,7 @@ void libvlc_video_set_teletext( libvlc_media_player_t *p_mi, int i_page )
     else
     {
         libvlc_printerr("Invalid page number");
+        vlc_player_Unlock(player);
         return;
     }
 



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

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




More information about the vlc-commits mailing list