diff options
Diffstat (limited to 'src/xine-engine/video_out.c')
-rw-r--r-- | src/xine-engine/video_out.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/xine-engine/video_out.c b/src/xine-engine/video_out.c index f778f99f3..d3b354ce6 100644 --- a/src/xine-engine/video_out.c +++ b/src/xine-engine/video_out.c @@ -1,4 +1,4 @@ - /* +/* * Copyright (C) 2000, 2001 the xine project * * This file is part of xine, a unix video player. @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: video_out.c,v 1.29 2001/07/04 18:12:12 uid32519 Exp $ + * $Id: video_out.c,v 1.30 2001/07/04 20:32:29 uid32519 Exp $ * */ @@ -491,12 +491,13 @@ static int vo_frame_draw (vo_frame_t *img) { static vo_overlay_t *vo_get_overlay (vo_instance_t *this) { /* FIXME: implement */ - return NULL; + return this->overlay; } static void vo_queue_overlay (vo_instance_t *this, vo_overlay_t *overlay) { /* FIXME: implement */ + this->driver->set_overlay (this->driver, overlay); } vo_instance_t *vo_new_instance (vo_driver_t *driver, metronom_t *metronom) { @@ -505,6 +506,7 @@ vo_instance_t *vo_new_instance (vo_driver_t *driver, metronom_t *metronom) { int i; this = xmalloc (sizeof (vo_instance_t)) ; + this->overlay = xmalloc (sizeof (vo_overlay_t)) ; this->driver = driver; this->metronom = metronom; |