From 0bdf850dbe0342811e864e9cd1a4b3de5e097df0 Mon Sep 17 00:00:00 2001 From: Jan Schmidt Date: Tue, 31 Jan 2006 16:26:57 +0000 Subject: [PATCH] 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. --- ChangeLog | 9 +++++++++ tests/check/pipelines/theoraenc.c | 2 +- tests/check/pipelines/vorbisenc.c | 2 +- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 372762ed47..b7cbd8f40d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2006-01-31 Jan Schmidt + + * 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 * sys/v4l/gstv4lsrc.c (gst_v4lsrc_set_caps): Don't segfault if the diff --git a/tests/check/pipelines/theoraenc.c b/tests/check/pipelines/theoraenc.c index 430225ec81..cfdb018e1b 100644 --- a/tests/check/pipelines/theoraenc.c +++ b/tests/check/pipelines/theoraenc.c @@ -22,7 +22,7 @@ #include -#define TIMESTAMP_OFFSET 3249870963 +#define TIMESTAMP_OFFSET G_GINT64_CONSTANT(3249870963) #define FRAMERATE 10 /* I know all of these have a shift of 6 bits */ diff --git a/tests/check/pipelines/vorbisenc.c b/tests/check/pipelines/vorbisenc.c index 50a89a2cf8..6d4e041f2e 100644 --- a/tests/check/pipelines/vorbisenc.c +++ b/tests/check/pipelines/vorbisenc.c @@ -22,7 +22,7 @@ #include -#define TIMESTAMP_OFFSET 3249870963 +#define TIMESTAMP_OFFSET G_GINT64_CONSTANT(3249870963) static GCond *cond = NULL; static GMutex *lock = NULL;