Mercurial > mplayer.hg
annotate loader/wrapper.h @ 35173:95ad1e516f03
mp_property_deinterlace: Signalize control() failure
Always having to do a GET after a SET to check if the state was
really changed, seems not very friendly from the perspective of
the client application that changes the property.
Return M_PROPERTY_UNAVAILABLE to signalize that the control() was
not positively consumed by the filter/vo chain.
Based on a patch by Vicente Sendra >visenri yahoo.es<
author | al |
---|---|
date | Thu, 25 Oct 2012 18:26:45 +0000 |
parents | 32725ca88fed |
children |
rev | line source |
---|---|
26045 | 1 #ifndef MPLAYER_WRAPPER_H |
2 #define MPLAYER_WRAPPER_H | |
8269
8b905703a450
- qtx (quicktime's macos emulation layer) debugging/emulation environment :)
arpi
parents:
diff
changeset
|
3 |
11864
ee76aa308c0a
use inttypes.h and std types, this fixes compilation problems on solaris 9 x86
alex
parents:
8269
diff
changeset
|
4 #include <inttypes.h> |
8269
8b905703a450
- qtx (quicktime's macos emulation layer) debugging/emulation environment :)
arpi
parents:
diff
changeset
|
5 |
8b905703a450
- qtx (quicktime's macos emulation layer) debugging/emulation environment :)
arpi
parents:
diff
changeset
|
6 typedef struct { |
11864
ee76aa308c0a
use inttypes.h and std types, this fixes compilation problems on solaris 9 x86
alex
parents:
8269
diff
changeset
|
7 uint32_t edi, esi, ebp, esp, ebx, edx, ecx, eax; |
8269
8b905703a450
- qtx (quicktime's macos emulation layer) debugging/emulation environment :)
arpi
parents:
diff
changeset
|
8 } reg386_t; |
8b905703a450
- qtx (quicktime's macos emulation layer) debugging/emulation environment :)
arpi
parents:
diff
changeset
|
9 |
11864
ee76aa308c0a
use inttypes.h and std types, this fixes compilation problems on solaris 9 x86
alex
parents:
8269
diff
changeset
|
10 typedef int (*wrapper_func_t)(void *stack_base, int stack_size, reg386_t *reg, uint32_t *flags); |
8269
8b905703a450
- qtx (quicktime's macos emulation layer) debugging/emulation environment :)
arpi
parents:
diff
changeset
|
11 |
8b905703a450
- qtx (quicktime's macos emulation layer) debugging/emulation environment :)
arpi
parents:
diff
changeset
|
12 extern wrapper_func_t report_entry, report_ret; |
8b905703a450
- qtx (quicktime's macos emulation layer) debugging/emulation environment :)
arpi
parents:
diff
changeset
|
13 |
28054 | 14 extern void (*wrapper_target)(void); |
8269
8b905703a450
- qtx (quicktime's macos emulation layer) debugging/emulation environment :)
arpi
parents:
diff
changeset
|
15 |
28051 | 16 int wrapper(void); |
17 int null_call(void); | |
8269
8b905703a450
- qtx (quicktime's macos emulation layer) debugging/emulation environment :)
arpi
parents:
diff
changeset
|
18 |
26045 | 19 #endif /* MPLAYER_WRAPPER_H */ |