Fixed a crash with thread creation in DShowPlugin