From c4debc9042c9a52bbac5af585bf6e2a0b08ec7e5 Mon Sep 17 00:00:00 2001 From: voroshil Date: Tue, 28 Aug 2007 14:10:47 +0000 Subject: Implement X/27/0 packet decoding. It contains information about navigation links. Modified patch from Otvos Attila oattila at chello dot hu git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24264 b3059339-0415-0410-9bf9-f77b7e298cf2 --- stream/tv.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'stream/tv.h') diff --git a/stream/tv.h b/stream/tv.h index 202abd0012..98f9417f2e 100644 --- a/stream/tv.h +++ b/stream/tv.h @@ -280,6 +280,11 @@ typedef struct tt_char_s{ unsigned char raw; ///< raw character (as received from device) } tt_char; +typedef struct tt_link_s{ + int pagenum; ///< page number + int subpagenum; ///< subpage number +} tt_link_t; + typedef struct tt_page_s{ int pagenum; ///< page number int subpagenum; ///< subpage number @@ -288,6 +293,7 @@ typedef struct tt_page_s{ unsigned char flags; ///< page flags, not used unsigned char raw[VBI_ROWS*VBI_COLUMNS]; ///< page data struct tt_page_s* next_subpage; + struct tt_link_s links[6]; } tt_page; typedef struct tt_stream_props_s{ -- cgit v1.2.3