changeset 1664:69d305d84d55

directshow uninit
author arpi
date Thu, 23 Aug 2001 15:56:26 +0000
parents 3df8dc1ce6f2
children f217f7ba0736
files dec_video.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/dec_video.c	Thu Aug 23 15:33:06 2001 +0000
+++ b/dec_video.c	Thu Aug 23 15:56:26 2001 +0000
@@ -148,6 +148,9 @@
         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);