Mercurial > mplayer.hg
annotate stream/realrtsp/asmrp.h @ 33959:ef089a8affc6
Perform a wsHandleEvents() when playback ends.
This fixes a redraw problem with the subwindow (video window) image
that could appear twice (on a wrong position).
author | ib |
---|---|
date | Thu, 01 Sep 2011 19:14:11 +0000 |
parents | 4129c8cfa742 |
children |
rev | line source |
---|---|
9922 | 1 /* |
2 * This file was ported to MPlayer from xine CVS asmrp.h,v 1.1 2002/12/12 22:14:54 | |
3 */ | |
4 | |
5 /* | |
6 * Copyright (C) 2002 the xine project | |
7 * | |
8 * This file is part of xine, a free video player. | |
9 * | |
10 * xine is free software; you can redistribute it and/or modify | |
11 * it under the terms of the GNU General Public License as published by | |
12 * the Free Software Foundation; either version 2 of the License, or | |
13 * (at your option) any later version. | |
14 * | |
15 * xine is distributed in the hope that it will be useful, | |
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
18 * GNU General Public License for more details. | |
19 * | |
20 * You should have received a copy of the GNU General Public License | |
21 * along with this program; if not, write to the Free Software | |
22 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA | |
23 * | |
24 * | |
25 * a parser for real's asm rules | |
26 * | |
27 * grammar for these rules: | |
28 * | |
29 | |
30 rule_book = { '#' rule ';'} | |
31 rule = condition {',' assignment} | |
32 assignment = id '=' const | |
33 const = ( number | string ) | |
34 condition = comp_expr { ( '&&' | '||' ) comp_expr } | |
35 comp_expr = operand { ( '<' | '<=' | '==' | '>=' | '>' ) operand } | |
36 operand = ( '$' id | num | '(' condition ')' ) | |
37 | |
38 */ | |
39 | |
26029 | 40 #ifndef MPLAYER_ASMRP_H |
41 #define MPLAYER_ASMRP_H | |
9922 | 42 |
21783
4511c04bc4a0
Fix potential buffer overflow in asm rules matching code
rtogni
parents:
19271
diff
changeset
|
43 #define MAX_RULEMATCHES 16 |
4511c04bc4a0
Fix potential buffer overflow in asm rules matching code
rtogni
parents:
19271
diff
changeset
|
44 |
9922 | 45 int asmrp_match (const char *rules, int bandwidth, int *matches) ; |
46 | |
26029 | 47 #endif /* MPLAYER_ASMRP_H */ |