Browse Source

codec: cc: decode provided CEA708 channel

refs #23691
pull/102/head
Francois Cartegnie 7 years ago
parent
commit
86fd855210
  1. 2
      modules/codec/cc.c

2
modules/codec/cc.c

@ -243,7 +243,7 @@ static void DTVCC_ServiceData_Handler( void *priv, uint8_t i_sid, vlc_tick_t i_t
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 );
}

Loading…
Cancel
Save