[vlc-devel] [PATCH 2/2] demux-run: Add input_source_t to es_out callbacks
Alexandre Janniaux
ajanni at videolabs.io
Mon Feb 8 09:05:06 UTC 2021
Hi,
LGTM, though VLC_UNUSED would have been more usual.
It's the same effect here anyway.
Regards,
--
Alexandre Janniaux
Videolabs
On Sun, Feb 07, 2021 at 05:04:36PM +0100, Tanguy Dubroca wrote:
> ---
> test/src/input/demux-run.c | 6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/test/src/input/demux-run.c b/test/src/input/demux-run.c
> index 428552c02d..af8adfed08 100644
> --- a/test/src/input/demux-run.c
> +++ b/test/src/input/demux-run.c
> @@ -67,8 +67,9 @@ struct es_out_id_t
> #endif
> };
>
> -static es_out_id_t *EsOutAdd(es_out_t *out, const es_format_t *fmt)
> +static es_out_id_t *EsOutAdd(es_out_t *out, input_source_t* in, const es_format_t *fmt)
> {
> + (void)in;
> struct test_es_out_t *ctx = (struct test_es_out_t *) out;
>
> if (fmt->i_group < 0)
> @@ -146,8 +147,9 @@ static void EsOutDelete(es_out_t *out, es_out_id_t *id)
> IdDelete(id);
> }
>
> -static int EsOutControl(es_out_t *out, int query, va_list args)
> +static int EsOutControl(es_out_t *out, input_source_t* in, int query, va_list args)
> {
> + (void)in;
> struct test_es_out_t *ctx = (struct test_es_out_t *) out;
>
> switch (query)
> --
> 2.30.0
>
> _______________________________________________
> 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