summaryrefslogtreecommitdiff
path: root/src/video_out/video_out_directx.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/video_out/video_out_directx.c')
-rwxr-xr-xsrc/video_out/video_out_directx.c6
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 }
};