[vlc-commits] videotoolbox: missing hxxx cleanup
    Francois Cartegnie 
    git at videolan.org
       
    Wed Mar 29 15:49:47 CEST 2017
    
    
  
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Tue Mar 28 17:02:04 2017 +0200| [a27c6d939a15a0f8d71a82b2727c1e1126d265a5] | committer: Thomas Guillem
videotoolbox: missing hxxx cleanup
Signed-off-by: Thomas Guillem <thomas at gllm.fr>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a27c6d939a15a0f8d71a82b2727c1e1126d265a5
---
 modules/codec/videotoolbox.m | 3 +++
 1 file changed, 3 insertions(+)
diff --git a/modules/codec/videotoolbox.m b/modules/codec/videotoolbox.m
index 7630040..b40e118 100644
--- a/modules/codec/videotoolbox.m
+++ b/modules/codec/videotoolbox.m
@@ -593,6 +593,9 @@ static void CloseDecoder(vlc_object_t *p_this)
 
     StopVideoToolbox(p_dec, true);
 
+    if (p_sys->codec == kCMVideoCodecType_H264)
+        hxxx_helper_clean(&p_sys->hh);
+
     vlc_mutex_destroy(&p_sys->lock);
     free(p_sys);
 }
    
    
More information about the vlc-commits
mailing list