mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 23:06:49 +00:00
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
1 changed files with 1 additions and 7 deletions
|
@ -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…
Reference in a new issue