summaryrefslogtreecommitdiff
path: root/src/video_out/video_out_directfb.c
diff options
context:
space:
mode:
authorMiguel Freitas <miguelfreitas@users.sourceforge.net>2003-05-31 18:33:28 +0000
committerMiguel Freitas <miguelfreitas@users.sourceforge.net>2003-05-31 18:33:28 +0000
commitaf85be8db56a088a7689baf9f4d1d67c2ee0decf (patch)
tree9576e1b0c2b3872fe6b26562fcd1ce98eeba8b9b /src/video_out/video_out_directfb.c
parent0306990681bdf214741c6ab2798b47bf8e578c97 (diff)
downloadxine-lib-af85be8db56a088a7689baf9f4d1d67c2ee0decf.tar.gz
xine-lib-af85be8db56a088a7689baf9f4d1d67c2ee0decf.tar.bz2
update video out api to allow better frame management (explicit locking)
img->displayed is obsolete now, drivers should use img->free. CVS patchset: 4994 CVS date: 2003/05/31 18:33:28
Diffstat (limited to 'src/video_out/video_out_directfb.c')
-rw-r--r--src/video_out/video_out_directfb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/video_out/video_out_directfb.c b/src/video_out/video_out_directfb.c
index e64cb667b..92ff0b1a4 100644
--- a/src/video_out/video_out_directfb.c
+++ b/src/video_out/video_out_directfb.c
@@ -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_directfb.c,v 1.16 2003/03/06 16:49:31 guenter Exp $
+ * $Id: video_out_directfb.c,v 1.17 2003/05/31 18:33:30 miguelfreitas Exp $
*
* DirectFB based output plugin.
* Rich Wareham <richwareham@users.sourceforge.net>
@@ -384,7 +384,7 @@ static void directfb_display_frame (vo_driver_t *this_gen, vo_frame_t *frame_gen
directfb_frame_t *frame = (directfb_frame_t *) frame_gen;
if( this->cur_frame )
- this->cur_frame->vo_frame.displayed (&this->cur_frame->vo_frame);
+ this->cur_frame->vo_frame.free (&this->cur_frame->vo_frame);
this->cur_frame = frame;
if ( (frame->width != this->last_frame_width) ||
@@ -400,7 +400,7 @@ static void directfb_display_frame (vo_driver_t *this_gen, vo_frame_t *frame_gen
directfb_render_image (this, frame);
- frame->vo_frame.displayed (&frame->vo_frame);
+ frame->vo_frame.free (&frame->vo_frame);
this->cur_frame = NULL;
}