summaryrefslogtreecommitdiff
path: root/src/video_out/video_out_sdl.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_sdl.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_sdl.c')
-rw-r--r--src/video_out/video_out_sdl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/video_out/video_out_sdl.c b/src/video_out/video_out_sdl.c
index 7729cba3a..b83a18dec 100644
--- a/src/video_out/video_out_sdl.c
+++ b/src/video_out/video_out_sdl.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_sdl.c,v 1.24 2003/05/14 16:27:22 mroi Exp $
+ * $Id: video_out_sdl.c,v 1.25 2003/05/31 18:33:31 miguelfreitas Exp $
*
* video_out_sdl.c, Simple DirectMedia Layer
*
@@ -344,7 +344,7 @@ static void sdl_display_frame (vo_driver_t *this_gen, vo_frame_t *frame_gen) {
clip_rect.h = this->sc.output_height;
SDL_DisplayYUVOverlay (frame->overlay, &clip_rect);
- frame->vo_frame.displayed (&frame->vo_frame);
+ frame->vo_frame.free (&frame->vo_frame);
pthread_mutex_unlock(&this->mutex);
}
@@ -595,6 +595,6 @@ static vo_info_t vo_info_sdl = {
plugin_info_t xine_plugin_info[] = {
/* type, API, "name", version, special_info, init_function */
- { PLUGIN_VIDEO_OUT, 14, "sdl", XINE_VERSION_CODE, &vo_info_sdl, init_class },
+ { PLUGIN_VIDEO_OUT, 15, "sdl", XINE_VERSION_CODE, &vo_info_sdl, init_class },
{ PLUGIN_NONE, 0, "" , 0 , NULL, NULL}
};