Commit 383f7eda authored by Tim-Philipp Müller's avatar Tim-Philipp Müller
Browse files

videotestsrc: include new math-compat.h header for rint() on MSVC

Should fix compilation with Visual Studio 2008.

https://bugzilla.gnome.org/show_bug.cgi?id=630802
parent 03362718
......@@ -27,20 +27,14 @@
#include "videotestsrc.h"
#include "gstvideotestsrcorc.h"
#include <gst/math-compat.h>
#include <string.h>
#include <stdlib.h>
#include <math.h>
#ifndef M_PI
#define M_PI 3.14159265358979323846
#endif
static void paint_tmpline_ARGB (paintinfo * p, int x, int w);
static void paint_tmpline_AYUV (paintinfo * p, int x, int w);
static unsigned char
random_char (void)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment