diff options
Diffstat (limited to 'libmpcodecs/dec_teletext.h')
-rw-r--r-- | libmpcodecs/dec_teletext.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libmpcodecs/dec_teletext.h b/libmpcodecs/dec_teletext.h index ce83bbae58..1d367e362b 100644 --- a/libmpcodecs/dec_teletext.h +++ b/libmpcodecs/dec_teletext.h @@ -23,11 +23,22 @@ #ifndef MPLAYER_DEC_TELETEXT_H #define MPLAYER_DEC_TELETEXT_H +struct tt_param { + char *device; ///< teletext device + int format; ///< teletext display format + int page; ///< start teletext page + int lang; ///< primary language code +}; + #define VBI_CONTROL_FALSE 0 #define VBI_CONTROL_TRUE 1 #define VBI_CONTROL_UNKNOWN -1 +#ifdef CONFIG_TV_TELETEXT int teletext_control(void* p, int cmd, void *arg); +#else +#define teletext_control(p, cmd, arg) VBI_CONTROL_FALSE +#endif /* TELETEXT controls (through teletext_control() ) |