diff options
author | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2003-05-31 18:33:28 +0000 |
---|---|---|
committer | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2003-05-31 18:33:28 +0000 |
commit | af85be8db56a088a7689baf9f4d1d67c2ee0decf (patch) | |
tree | 9576e1b0c2b3872fe6b26562fcd1ce98eeba8b9b /src/video_out/video_out_directx.c | |
parent | 0306990681bdf214741c6ab2798b47bf8e578c97 (diff) | |
download | xine-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_directx.c')
-rwxr-xr-x | src/video_out/video_out_directx.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/video_out/video_out_directx.c b/src/video_out/video_out_directx.c index 55691f287..9d7e44a94 100755 --- a/src/video_out/video_out_directx.c +++ b/src/video_out/video_out_directx.c @@ -968,7 +968,7 @@ static void win32_display_frame( vo_driver_t * vo_driver, vo_frame_t * vo_frame if( !win32_driver->contents ) { - vo_frame->displayed( vo_frame ); + vo_frame->free( vo_frame ); return; } @@ -1089,7 +1089,7 @@ static void win32_display_frame( vo_driver_t * vo_driver, vo_frame_t * vo_frame // tag our frame as displayed if((win32_driver->current != NULL) && (win32_driver->current != vo_frame)) { - vo_frame->displayed(&win32_driver->current->vo_frame); + vo_frame->free(&win32_driver->current->vo_frame); } win32_driver->current = vo_frame; } @@ -1279,6 +1279,6 @@ static vo_info_t vo_info_win32 = { plugin_info_t xine_plugin_info[] = { /* type, API, "name", version, special_info, init_function */ - { PLUGIN_VIDEO_OUT, 14, "vo_directx", XINE_VERSION_CODE, &vo_info_win32, init_class }, + { PLUGIN_VIDEO_OUT, 15, "vo_directx", XINE_VERSION_CODE, &vo_info_win32, init_class }, { PLUGIN_NONE, 0, "", 0, NULL, NULL } }; |