tests/check/pipelines/: Define constant using G_GINT64_CONSTANT to avoid errors when...
authorJan Schmidt <thaytan@mad.scientist.com>
Tue, 31 Jan 2006 16:26:57 +0000 (16:26 +0000)
committerJan Schmidt <thaytan@mad.scientist.com>
Tue, 31 Jan 2006 16:26:57 +0000 (16:26 +0000)
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
tests/check/pipelines/theoraenc.c
tests/check/pipelines/vorbisenc.c

index 372762ed475b50a19343af77632147b0757718e0..b7cbd8f40d50eab4e9c0d045679cc044199cb521 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
 
        * sys/v4l/gstv4lsrc.c (gst_v4lsrc_set_caps): Don't segfault if the
index 430225ec817769d2d58f07519f79b5f8524799bd..cfdb018e1b4d735a48cf0074ea0e8157976c7e4c 100644 (file)
@@ -22,7 +22,7 @@
 
 #include <gst/check/gstcheck.h>
 
-#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 */
index 50a89a2cf87e4363472f573ba5a12e2835f40c45..6d4e041f2e1fe8c73fe7d5595cda0bae8f00abcb 100644 (file)
@@ -22,7 +22,7 @@
 
 #include <gst/check/gstcheck.h>
 
-#define TIMESTAMP_OFFSET 3249870963
+#define TIMESTAMP_OFFSET G_GINT64_CONSTANT(3249870963)
 
 static GCond *cond = NULL;
 static GMutex *lock = NULL;