glalpha: fix compilation with msvc

It doesn't define M_PI
This commit is contained in:
Matthew Waters 2018-06-07 13:58:43 +10:00
parent 82c43ff9a3
commit 6f04c3ac87

View file

@ -50,6 +50,10 @@
#include <math.h>
#include <gst/gl/gstglfuncs.h>
#ifndef M_PI
#define M_PI 3.14159265358979323846
#endif
GST_DEBUG_CATEGORY_STATIC (glalpha_debug);
#define GST_CAT_DEFAULT glalpha_debug