tests/check/pipelines/: Define constant using G_GINT64_CONSTANT to avoid errors when passing it around - otherwise it...

Original commit message from CVS:
* tests/check/pipelines/theoraenc.c:
* tests/check/pipelines/vorbisenc.c:
Define constant using G_GINT64_CONSTANT to avoid errors when
passing it around - otherwise it gets truncated to 32 bits.

Fixes failing tests.
This commit is contained in:
Jan Schmidt 2006-01-31 16:26:57 +00:00
parent 1b35856376
commit 0bdf850dbe
3 changed files with 11 additions and 2 deletions

View file

@ -1,3 +1,12 @@
2006-01-31 Jan Schmidt <thaytan@mad.scientist.com>
* tests/check/pipelines/theoraenc.c:
* tests/check/pipelines/vorbisenc.c:
Define constant using G_GINT64_CONSTANT to avoid errors when
passing it around - otherwise it gets truncated to 32 bits.
Fixes failing tests.
2006-01-31 Andy Wingo <wingo@pobox.com> 2006-01-31 Andy Wingo <wingo@pobox.com>
* sys/v4l/gstv4lsrc.c (gst_v4lsrc_set_caps): Don't segfault if the * sys/v4l/gstv4lsrc.c (gst_v4lsrc_set_caps): Don't segfault if the

View file

@ -22,7 +22,7 @@
#include <gst/check/gstcheck.h> #include <gst/check/gstcheck.h>
#define TIMESTAMP_OFFSET 3249870963 #define TIMESTAMP_OFFSET G_GINT64_CONSTANT(3249870963)
#define FRAMERATE 10 #define FRAMERATE 10
/* I know all of these have a shift of 6 bits */ /* I know all of these have a shift of 6 bits */

View file

@ -22,7 +22,7 @@
#include <gst/check/gstcheck.h> #include <gst/check/gstcheck.h>
#define TIMESTAMP_OFFSET 3249870963 #define TIMESTAMP_OFFSET G_GINT64_CONSTANT(3249870963)
static GCond *cond = NULL; static GCond *cond = NULL;
static GMutex *lock = NULL; static GMutex *lock = NULL;