comparison libmpcodecs/dec_teletext.h @ 29806:a5e7590ffdbd

Separate teletext from tv support. Path by Francesco Lavra, francescolavra interfree it
author cehoyos
date Sat, 07 Nov 2009 12:31:05 +0000
parents 1cc8a20520e8
children e255f9571156
comparison
equal deleted inserted replaced
29805:b9350576d4fc 29806:a5e7590ffdbd
21 */ 21 */
22 22
23 #ifndef MPLAYER_DEC_TELETEXT_H 23 #ifndef MPLAYER_DEC_TELETEXT_H
24 #define MPLAYER_DEC_TELETEXT_H 24 #define MPLAYER_DEC_TELETEXT_H
25 25
26 struct tt_param {
27 char *device; ///< teletext device
28 int format; ///< teletext display format
29 int page; ///< start teletext page
30 int lang; ///< primary language code
31 };
32
26 #define VBI_CONTROL_FALSE 0 33 #define VBI_CONTROL_FALSE 0
27 #define VBI_CONTROL_TRUE 1 34 #define VBI_CONTROL_TRUE 1
28 #define VBI_CONTROL_UNKNOWN -1 35 #define VBI_CONTROL_UNKNOWN -1
29 36
37 #ifdef CONFIG_TV_TELETEXT
30 int teletext_control(void* p, int cmd, void *arg); 38 int teletext_control(void* p, int cmd, void *arg);
39 #else
40 #define teletext_control(p, cmd, arg) VBI_CONTROL_FALSE
41 #endif
31 42
32 /* 43 /*
33 TELETEXT controls (through teletext_control() ) 44 TELETEXT controls (through teletext_control() )
34 NOTE: 45 NOTE:
35 _SET_ should be _GET_ +1 46 _SET_ should be _GET_ +1