mirror of
https://github.com/mpv-player/mpv
synced 2024-12-20 22:02:59 +00:00
directshow uninit
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1665 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
79337e7874
commit
6ab09448c8
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user