From bc3924c085bee020b1382cf736d3964cf29b54cc Mon Sep 17 00:00:00 2001 From: faust3 Date: Thu, 6 Jan 2005 16:24:58 +0000 Subject: [PATCH] fixed-vo/libmpeg2 aspect change fix git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14402 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_directx.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libvo/vo_directx.c b/libvo/vo_directx.c index 5256f14ecc..904a5bd854 100644 --- a/libvo/vo_directx.c +++ b/libvo/vo_directx.c @@ -1273,6 +1273,8 @@ config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uin if(vidmode)vo_fs=0; + if (g_cc != NULL)g_cc->lpVtbl->Release(g_cc); + g_cc=NULL; /*release all surfaces*/ if (g_lpddsBack != NULL) g_lpddsBack->lpVtbl->Release(g_lpddsBack); g_lpddsBack = NULL;