vlc | branch: master | Francois Cartegnie <[email protected]> | Tue Mar 28 
17:02:04 2017 +0200| [a27c6d939a15a0f8d71a82b2727c1e1126d265a5] | committer: 
Thomas Guillem

videotoolbox: missing hxxx cleanup

Signed-off-by: Thomas Guillem <[email protected]>

> 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);
 }

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to