[vlc-commits] [Git][videolan/vlc][master] decoder: fix Closed Caption decoding

Jean-Baptiste Kempf (@jbk) gitlab at videolan.org
Tue Dec 5 17:59:13 UTC 2023



Jean-Baptiste Kempf pushed to branch master at VideoLAN / VLC


Commits:
ec73375c by Steve Lhomme at 2023-12-05T17:44:29+00:00
decoder: fix Closed Caption decoding

The change in 617501132c10f1cfd0e3e43a0538738a783c91ef was not equivalent
to the tests that were done before.

- - - - -


1 changed file:

- src/input/decoder.c


Changes:

=====================================
src/input/decoder.c
=====================================
@@ -1301,7 +1301,7 @@ static void ModuleThread_QueueCc( decoder_t *p_videodec, vlc_frame_t *p_cc,
         return;
 
     if (!p_owner->cc.b_supported ||
-       (p_owner->p_packetizer != NULL && p_owner->p_packetizer->pf_get_cc == NULL))
+       (p_owner->p_packetizer != NULL && p_owner->p_packetizer->pf_get_cc != NULL))
     {
         block_Release(p_cc);
         return;



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

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/ec73375ceb7c6167ddb8e57f2414cea90be32129
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