annotate libvo/wskeys.h @ 8843:c70444c5b516

I have seen problems where DVD subtitles don't display at the right time and sometimes they don't appear at all. The problem stems from the fact that subtitle command packets are being applied as soon as they are read and assembled from the input stream. Sometimes, a fully assembled subtitle packet arrives at the spudec_assemble function before the previous subtitle appears onscreen and thus the viewer only sees the second subtitle. So I created a patch that queues assembled subtitle packets and applies them at the appropriate time within the heartbeat function. The reset function clears the packet queue when seeking through the video. Tomasz Farkas <tomasz_farkas@yahoo.co.uk>
author arpi
date Wed, 08 Jan 2003 18:36:36 +0000
parents d33dac3fcfa1
children 150d1ef4204d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
2 #ifndef _MY_WSKEY
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
3 #define _MY_WSKEY
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
4
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
5 #define wsosbrackets '['
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
6 #define wscsbrackets ']'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
7
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
8 #define wsq 'q'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
9 #define wsa 'a'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
10 #define wsz 'z'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
11 #define wsw 'w'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
12 #define wss 's'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
13 #define wsx 'x'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
14 #define wse 'e'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
15 #define wsd 'd'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
16 #define wsr 'r'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
17 #define wsf 'f'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
18 #define wsv 'v'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
19 #define wst 't'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
20 #define wsg 'g'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
21 #define wsb 'b'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
22 #define wsy 'y'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
23 #define wsh 'h'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
24 #define wsn 'n'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
25 #define wsu 'u'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
26 #define wsj 'j'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
27 #define wsm 'm'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
28 #define wsi 'i'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
29 #define wsk 'k'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
30 #define wso 'o'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
31 #define wsl 'l'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
32 #define wsp 'p'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
33
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
34 #define wsQ 'Q'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
35 #define wsA 'A'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
36 #define wsZ 'Z'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
37 #define wsW 'W'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
38 #define wsS 'S'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
39 #define wsX 'X'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
40 #define wsE 'E'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
41 #define wsD 'D'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
42 #define wsR 'R'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
43 #define wsF 'F'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
44 #define wsV 'V'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
45 #define wsT 'T'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
46 #define wsG 'G'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
47 #define wsB 'B'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
48 #define wsY 'Y'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
49 #define wsH 'H'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
50 #define wsN 'N'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
51 #define wsU 'U'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
52 #define wsJ 'J'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
53 #define wsM 'M'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
54 #define wsI 'I'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
55 #define wsK 'K'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
56 #define wsO 'O'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
57 #define wsL 'L'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
58 #define wsP 'P'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
59
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
60 #define wsSpace ' '
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
61 #define wsMinus '-'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
62 #define wsPlus '+'
453
c68f62830c83 add * and /
pontscho
parents: 448
diff changeset
63 #define wsMul '*'
c68f62830c83 add * and /
pontscho
parents: 448
diff changeset
64 #define wsDiv '/'
3490
d33dac3fcfa1 applied Panagiotis' patch
gabucino
parents: 453
diff changeset
65 #define wsLess '<'
d33dac3fcfa1 applied Panagiotis' patch
gabucino
parents: 453
diff changeset
66 #define wsMore '>'
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
67
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
68 #define wsUp 0x52 + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
69 #define wsDown 0x54 + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
70 #define wsLeft 0x51 + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
71 #define wsRight 0x53 + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
72 #define wsLeftCtrl 0xe3 + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
73 #define wsRightCtrl 0xe4 + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
74 #define wsLeftAlt 0xe9 + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
75 #define wsRightAlt 0x7e + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
76 #define wsLeftShift 0xe1 + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
77 #define wsRightShift 0xe2 + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
78 #define wsEnter 0x0d + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
79 #define wsBackSpace 0x08 + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
80 #define wsCapsLock 0xe5 + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
81 #define wsTab 0x09 + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
82 #define wsF1 0xbe + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
83 #define wsF2 0xbf + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
84 #define wsF3 0xc0 + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
85 #define wsF4 0xc1 + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
86 #define wsF5 0xc2 + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
87 #define wsF6 0xc3 + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
88 #define wsF7 0xc4 + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
89 #define wsF8 0xc5 + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
90 #define wsF9 0xc6 + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
91 #define wsF10 0xc7 + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
92 #define wsInsert 0x63 + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
93 #define wsDelete 0xff + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
94 #define wsHome 0x50 + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
95 #define wsEnd 0x57 + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
96 #define wsPageUp 0x55 + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
97 #define wsPageDown 0x56 + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
98 #define wsNumLock 0x7f + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
99 #define wsEscape 0x1b + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
100 #define wsGrayEnter 0x8d + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
101 #define wsGrayPlus 0xab + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
102 #define wsGrayMinus 0xad + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
103 #define wsGrayMul 0xaa + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
104 #define wsGrayDiv 0xaf + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
105
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
106 #endif
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
107