diff options
author | wm4 <wm4@nowhere> | 2013-12-21 20:24:20 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-12-21 21:43:16 +0100 |
commit | 3dbc9007b080028f0aebbbf8b9ab1233cd70c45b (patch) | |
tree | e6e46e5dd238338c44d421ef4f9101c9898c3cbf /stream/tvi_dummy.c | |
parent | 9149e2af568d4cb251f8b105f360c3e6b9fd9d86 (diff) | |
download | mpv-3dbc9007b080028f0aebbbf8b9ab1233cd70c45b.tar.bz2 mpv-3dbc9007b080028f0aebbbf8b9ab1233cd70c45b.tar.xz |
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.
Diffstat (limited to 'stream/tvi_dummy.c')
-rw-r--r-- | stream/tvi_dummy.c | 6 |
1 files changed, 3 insertions, 3 deletions
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 */ |