From 28e94ad99edeb21d11edcd9fc2ddd72a30b14222 Mon Sep 17 00:00:00 2001 From: Ghislain MARY Date: Mon, 16 Mar 2015 17:41:08 +0100 Subject: [PATCH] Call initialization function of WASAPI mediastreamer plugin in Python module if needed. --- tools/python/apixml2python/handwritten_definitions.mustache | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/python/apixml2python/handwritten_definitions.mustache b/tools/python/apixml2python/handwritten_definitions.mustache index 13e27d873..4bd8f9f71 100644 --- a/tools/python/apixml2python/handwritten_definitions.mustache +++ b/tools/python/apixml2python/handwritten_definitions.mustache @@ -252,6 +252,9 @@ static void pylinphone_init_ms2_plugins(void) { #ifdef ENABLE_OPENH264 libmsopenh264_init(); #endif +#ifdef ENABLE_WASAPI + libmswasapi_init(); +#endif } static PyObject * pylinphone_Core_class_method_new(PyObject *cls, PyObject *args) {