From 2bcfe1e077fe043751d3f7c73c82be761629419f Mon Sep 17 00:00:00 2001 From: Uoti Urpala Date: Thu, 3 Apr 2008 06:25:41 +0300 Subject: Add new video driver API Create new video driver API that has a per-instance context structure and does not rely on keeping status in global or static variables. Existing drivers are not yet converted to this API; instead there is a wrapper which translates calls to them. In the new API, an old API call vo_functions->xyz(args) is generally replaced by vo_xyz(vo_instance, args). The changes to keep the vesa, dxr2 and xover drivers compiling have not been tested. --- libvo/vo_xvidix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libvo/vo_xvidix.c') diff --git a/libvo/vo_xvidix.c b/libvo/vo_xvidix.c index 260cdc9ba1..0dd6f6d43a 100644 --- a/libvo/vo_xvidix.c +++ b/libvo/vo_xvidix.c @@ -464,7 +464,7 @@ static int preinit(const char *arg) if (!vo_init()) return (-1); - if (vidix_preinit(vidix_name, &video_out_xvidix) != 0) + if (vidix_preinit(vidix_name, video_out_xvidix.old_functions) != 0) return (1); return (0); -- cgit v1.2.3