vlc/vlc-3.0 | branch: master | Francois Cartegnie <[email protected]> | Tue Feb 11 20:00:02 2020 +0100| [f4fbf2bdb91f4a50ff6262734872e52c9379ac95] | committer: Francois Cartegnie
codec: cc: decode provided CEA708 channel refs #23691 (cherry picked from commit 86fd85521020554a9c32f6ed244a2aa3785cdac9) > http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=f4fbf2bdb91f4a50ff6262734872e52c9379ac95 --- modules/codec/cc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/codec/cc.c b/modules/codec/cc.c index 5a06a3e214..94cfaa8f90 100644 --- a/modules/codec/cc.c +++ b/modules/codec/cc.c @@ -237,7 +237,7 @@ static void DTVCC_ServiceData_Handler( void *priv, uint8_t i_sid, mtime_t i_time decoder_t *p_dec = priv; decoder_sys_t *p_sys = p_dec->p_sys; //msg_Err( p_dec, "DTVCC_ServiceData_Handler sid %d bytes %ld", i_sid, i_data ); - if( i_sid == 1 ) + if( i_sid == 1 + p_dec->fmt_in.subs.cc.i_channel ) CEA708_Decoder_Push( p_sys->p_cea708, i_time, p_data, i_data ); } _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
