0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 20:03:10 +02:00

directshow uninit

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1665 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
arpi 2001-08-23 15:56:26 +00:00
parent 79337e7874
commit 6ab09448c8

View File

@ -148,6 +148,9 @@ int uninit_video(sh_video_t *sh_video){
if (avcodec_close(&lavc_context) < 0)
mp_msg(MSGT_DECVIDEO,MSGL_ERR, "could not close codec\n");
break;
case VFM_DSHOW: // Win32/DirectShow
DS_VideoDecoder_Close();
break;
case VFM_MPEG:
mpeg2_free_image_buffers (picture);