diff options
author | faust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-01-06 16:24:58 +0000 |
---|---|---|
committer | faust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-01-06 16:24:58 +0000 |
commit | bc3924c085bee020b1382cf736d3964cf29b54cc (patch) | |
tree | 5a6fc7259400444c957613679e4ae26248bd8648 /libvo/vo_directx.c | |
parent | 27c3aa54b9738e56f6b1362667ebe0d3e01cda1e (diff) | |
download | mpv-bc3924c085bee020b1382cf736d3964cf29b54cc.tar.bz2 mpv-bc3924c085bee020b1382cf736d3964cf29b54cc.tar.xz |
fixed-vo/libmpeg2 aspect change fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14402 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_directx.c')
-rw-r--r-- | libvo/vo_directx.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; |