summaryrefslogtreecommitdiffstats
path: root/stream/tv.h
diff options
context:
space:
mode:
authorvoroshil <voroshil@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-08-28 14:10:47 +0000
committervoroshil <voroshil@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-08-28 14:10:47 +0000
commitc4debc9042c9a52bbac5af585bf6e2a0b08ec7e5 (patch)
tree6efb654c3e03a3e7ebd29a77c002f8a075ef5617 /stream/tv.h
parentbf61021b10dcff42fd703306fcb184c659d0712f (diff)
downloadmpv-c4debc9042c9a52bbac5af585bf6e2a0b08ec7e5.tar.bz2
mpv-c4debc9042c9a52bbac5af585bf6e2a0b08ec7e5.tar.xz
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
Diffstat (limited to 'stream/tv.h')
-rw-r--r--stream/tv.h6
1 files changed, 6 insertions, 0 deletions
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{