]> git.sesse.net Git - casparcg/blobdiff - modules/ogl/consumer/ogl_consumer.cpp
* Created custom decklink allocator for reducing memory footprint.
[casparcg] / modules / ogl / consumer / ogl_consumer.cpp
index b4f950f7cd95038083b360cc37a2ada0d9a48181..8e727752721d587c4d31d197236f4e89a9cfbcb8 100644 (file)
@@ -33,6 +33,8 @@
 #include <common/utility/timer.h>\r
 #include <common/utility/string.h>\r
 #include <common/concurrency/future_util.h>\r
+#include <common/concurrency/executor.h>\r
+#include <common/exception/win32_exception.h>\r
 \r
 #include <ffmpeg/producer/filter/filter.h>\r
 \r
@@ -273,6 +275,9 @@ public:
 \r
        void run()\r
        {\r
+               win32_exception::ensure_handler_installed_for_thread(\r
+                               "ogl-consumer-thread");\r
+\r
                try\r
                {\r
                        init();\r