[vlc-devel] [PATCH 5/7] es_out: fix inverted opaque/transparent forwarding
Thomas Guillem
thomas at gllm.fr
Tue Jun 9 13:40:10 CEST 2020
Indeed, thanks for the fix.
On Tue, Jun 9, 2020, at 10:38, Francois Cartegnie wrote:
> ---
> src/input/es_out.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/src/input/es_out.c b/src/input/es_out.c
> index ec563f896e..97c8774eb5 100644
> --- a/src/input/es_out.c
> +++ b/src/input/es_out.c
> @@ -2321,7 +2321,7 @@ static void EsOutSelectEs( es_out_t *out,
> es_out_id_t *es, bool b_force )
> if( vbi_page >= 0 )
> {
> input_SendEventVbiPage( p_input, vbi_page );
> - input_SendEventVbiTransparency( p_input, vbi_opaque );
> + input_SendEventVbiTransparency( p_input, !vbi_opaque );
> }
> }
> }
> @@ -3733,10 +3733,10 @@ static int EsOutVaPrivControlLocked( es_out_t
> *out, int query, va_list args )
> }
> else
> {
> - bool opaque = va_arg( args, int );
> - ret = vlc_input_decoder_SetVbiOpaque( es->p_dec, opaque );
> + bool transp = va_arg( args, int );
> + ret = vlc_input_decoder_SetVbiOpaque( es->p_dec, !transp );
> if( ret == VLC_SUCCESS )
> - input_SendEventVbiTransparency( p_sys->p_input, opaque
> );
> + input_SendEventVbiTransparency( p_sys->p_input, transp
> );
> }
> return ret;
> }
> --
> 2.25.4
>
> _______________________________________________
> 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