[vlc-devel] [PATCH 2/2] demux-run: Add input_source_t to es_out callbacks

Tanguy Dubroca tanguy.dubroca at lse.epita.fr
Sun Feb 7 16:04:36 UTC 2021


---
 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



More information about the vlc-devel mailing list