From da32be78021062a8a431be6b0852f62b608ed8e6 Mon Sep 17 00:00:00 2001 From: voroshil Date: Sun, 29 Jul 2007 17:57:39 +0000 Subject: Teletext support Part 4/5: teletext page rendering git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23923 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/sub.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'libvo/sub.h') diff --git a/libvo/sub.h b/libvo/sub.h index e139607e21..c6223f8043 100644 --- a/libvo/sub.h +++ b/libvo/sub.h @@ -2,6 +2,10 @@ #ifndef MPLAYER_SUB_H #define MPLAYER_SUB_H +#ifdef HAVE_TV_TELETEXT +#include "libmpcodecs/mp_image.h" +#endif + typedef struct mp_osd_bbox_s { int x1,y1,x2,y2; } mp_osd_bbox_t; @@ -11,6 +15,7 @@ typedef struct mp_osd_bbox_s { #define OSDTYPE_PROGBAR 3 #define OSDTYPE_SPU 4 #define OSDTYPE_DVDNAV 5 +#define OSDTYPE_TELETEXT 6 #define OSDFLAG_VISIBLE 1 #define OSDFLAG_CHANGED 2 @@ -64,6 +69,13 @@ extern subtitle* vo_sub; extern unsigned char* vo_osd_text; +#ifdef HAVE_TV_TELETEXT +extern void* vo_osd_teletext_page; +extern int vo_osd_teletext_half; +extern int vo_osd_teletext_mode; +extern int vo_osd_teletext_format; +#endif + extern int vo_osd_progbar_type; extern int vo_osd_progbar_value; // 0..255 -- cgit v1.2.3