blob: 0de93fd0fbf2744aa63a7be083384e12ef52c780 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
/*
* vo_hook.h: Intercept video driver
*
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
* $Id: vo_hook.h,v 1.3 2008-12-14 01:14:54 phintuka Exp $
*
*/
#ifndef _XINELIBOUTPUT_VO_HOOK_H
#define _XINELIBOUTPUT_VO_HOOK_H
#include <xine/video_out.h>
/*
* synchronous video post plugins
* internal API
*/
/*
* vo_driver_hook_t
*
* Used as base for video driver hooks
*/
typedef struct driver_hook_s {
vo_driver_t vo; /* public part */
vo_driver_t *orig_driver;
} vo_driver_hook_t;
/* proxy handlers: forward call to original driver */
uint32_t vo_def_get_capabilities(vo_driver_t *self);
int vo_def_get_property(vo_driver_t *self, int prop);
int vo_def_set_property(vo_driver_t *self, int prop, int val);
void vo_def_dispose(vo_driver_t *self);
#endif /* _XINELIBOUTPUT_VO_HOOK_H */
|