[vlc-devel] [PATCH 4/5] input: es_out_timeshift: execute scheduled priv controls

Thomas Guillem thomas at gllm.fr
Mon Apr 20 20:45:40 CEST 2020


Why private controls end up in public one ?

On Mon, Apr 20, 2020, at 20:27, Francois Cartegnie wrote:
> ---
>  src/input/es_out_timeshift.c | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/src/input/es_out_timeshift.c b/src/input/es_out_timeshift.c
> index 11b1e6f8f9..73ac3e2183 100644
> --- a/src/input/es_out_timeshift.c
> +++ b/src/input/es_out_timeshift.c
> @@ -1668,6 +1668,11 @@ static int CmdExecuteControl( es_out_t *p_out, 
> ts_cmd_t *p_cmd )
>                                    p_cmd->u.control.u.es_fmt.p_fmt );
>  
>      default:
> +        if( i_query >= ES_OUT_TIMESHIFT_PRIVATE_START &&
> +            i_query < ES_OUT_PRIVATE_START )
> +        {
> +            return CmdExecutePrivControl( p_out, p_cmd );
> +        }
>          vlc_assert_unreachable();
>          return VLC_EGENERIC;
>      }
> -- 
> 2.25.3
> 
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel


More information about the vlc-devel mailing list