Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
6ff7b188 by Steve Lhomme at 2024-01-04T09:35:13+00:00
mft: reset COM pointers before calling MFShutdown()

It may crash if we don't. It may also cause more problems with the
CoUninitialize() call.

- - - - -


1 changed file:

- modules/codec/mft.cpp


Changes:

=====================================
modules/codec/mft.cpp
=====================================
@@ -110,6 +110,11 @@ public:
     {
         assert(!streamStarted);
 
+        event_generator.Reset();
+        mft.Reset();
+        input_type.Reset();
+        output_sample.Reset();
+
         MFShutdown();
 
         CoUninitialize();



View it on GitLab: 
https://code.videolan.org/videolan/vlc/-/commit/6ff7b1884438ad27de618adad3fb0fd30dc6eb9b

-- 
View it on GitLab: 
https://code.videolan.org/videolan/vlc/-/commit/6ff7b1884438ad27de618adad3fb0fd30dc6eb9b
You're receiving this email because of your account on code.videolan.org.


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

Reply via email to