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;