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. --- demux/mf.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'demux/mf.h') diff --git a/demux/mf.h b/demux/mf.h index 5511e3188b..09f6e03b4f 100644 --- a/demux/mf.h +++ b/demux/mf.h @@ -19,10 +19,13 @@ #ifndef MPLAYER_MF_H #define MPLAYER_MF_H +struct mp_log; + extern double mf_fps; extern char * mf_type; typedef struct mf { + struct mp_log *log; struct sh_video *sh; int curr_frame; int nr_of_files; @@ -31,7 +34,7 @@ typedef struct mf { struct stream **streams; } mf_t; -mf_t *open_mf_pattern(void *talloc_ctx, char *filename); -mf_t *open_mf_single(void *talloc_ctx, char *filename); +mf_t *open_mf_pattern(void *talloc_ctx, struct mp_log *log, char *filename); +mf_t *open_mf_single(void *talloc_ctx, struct mp_log *log, char *filename); #endif /* MPLAYER_MF_H */ -- cgit v1.2.3