[vlc-commits] demux-run: Add input_source_t to es_out callbacks

Tanguy Dubroca git at videolan.org
Mon Feb 15 15:06:08 UTC 2021


vlc | branch: master | Tanguy Dubroca <tanguy.dubroca at lse.epita.fr> | Sun Feb  7 17:04:36 2021 +0100| [4e8140a728067aaf11c07970ad3699d83596e604] | committer: Alexandre Janniaux

demux-run: Add input_source_t to es_out callbacks

Signed-off-by: Alexandre Janniaux <ajanni at videolabs.io>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4e8140a728067aaf11c07970ad3699d83596e604
---

 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)



More information about the vlc-commits mailing list