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
This commit is contained in:
parent
033627186b
commit
383f7edaf4
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user