[vlc-devel] [PATCH] mpeg: ts: fix all streams being selected by default

Francois Cartegnie fcvlcdev at free.fr
Tue Jul 9 14:48:31 CEST 2019


Le 09/07/2019 à 14:30, Thomas Guillem a écrit :

> @@ -799,7 +799,7 @@ static int EITCurrentEventTime( const ts_pmt_t *p_pmt, demux_sys_t *p_sys,
>  static inline void HasSelectedES( es_out_t *out, const ts_es_t *p_es,
>                                    const ts_pmt_t *p_pmt, bool *pb_stream_selected )
>  {
> -    for( ; p_es && !*pb_stream_selected; p_es = p_es->p_next )
> +    for( ; p_es && *pb_stream_selected; p_es = p_es->p_next )
>      {
>          if( p_es->id )
>              es_out_Control( out, ES_OUT_GET_ES_STATE,
> 

Does not fix, give opposite result.


-- 
Francois Cartegnie
VideoLAN - VLC Developer


More information about the vlc-devel mailing list