From 3dbc9007b080028f0aebbbf8b9ab1233cd70c45b Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 21 Dec 2013 20:24:20 +0100 Subject: demux: mp_msg conversions The TV code pretends to be part of stream/, but it's actually demuxer code too. The audio_in code is shared between the TV code and stream_radio.c, so stream_radio.c needs a small hack until stream.c is converted. --- stream/tvi_dummy.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'stream/tvi_dummy.c') diff --git a/stream/tvi_dummy.c b/stream/tvi_dummy.c index 24590fa428..0d9e86c210 100644 --- a/stream/tvi_dummy.c +++ b/stream/tvi_dummy.c @@ -24,7 +24,7 @@ #include "video/img_fourcc.h" #include "tv.h" -static tvi_handle_t *tvi_init_dummy(tv_param_t* tv_param); +static tvi_handle_t *tvi_init_dummy(struct mp_log *log, tv_param_t* tv_param); /* information about this file */ const tvi_info_t tvi_info_dummy = { tvi_init_dummy, @@ -43,9 +43,9 @@ typedef struct priv { #include "tvi_def.h" /* handler creator - entry point ! */ -static tvi_handle_t *tvi_init_dummy(tv_param_t* tv_param) +static tvi_handle_t *tvi_init_dummy(struct mp_log *log, tv_param_t* tv_param) { - return tv_new_handle(sizeof(priv_t), &functions); + return tv_new_handle(sizeof(priv_t), log, &functions); } /* initialisation */ -- cgit v1.2.3