diff options
author | Benjamin Otte <otte@gnome.org> | 2008-12-21 18:19:43 +0100 |
---|---|---|
committer | Benjamin Otte <otte@gnome.org> | 2008-12-21 18:19:43 +0100 |
commit | cfe3e30d6bb53e86dddfb410cb1c7ef83b33cdb0 (patch) | |
tree | 10f14f400790281222e3d156964f3f8c249f6b23 | |
parent | f82ce694440e90e783af8f90e8e3f8bb9382bf66 (diff) | |
parent | a2429a12e00f13efecc6e6208a2c4cd3ef3b89b6 (diff) |
Merge branch '0.8'
Conflicts:
NEWS
configure.ac
-rw-r--r-- | NEWS | 11 | ||||
-rw-r--r-- | test/swfdec_test.c | 15 |
2 files changed, 23 insertions, 3 deletions
@@ -12,6 +12,17 @@ Swfdec 0.10 contains: - lots of memory leaks plugged - vast amount of other bugfixes + 0.8.4 ("H264") + +Another stable release. +- support H264, so all Youtube videos play again +- fix various portability issues for ARM +- fix rare crash with gotoAndPlay() function +- fix rare crasher with setTarget() function +- fix crashes in BitmapData.copyPixels() +- zero memory before rendering in PulseAudio backend +- improve Cairo check in testsuite + 0.8.2 ("Gametrailers") Here's the first stable release. diff --git a/test/swfdec_test.c b/test/swfdec_test.c index 74c0a8eb..635f053d 100644 --- a/test/swfdec_test.c +++ b/test/swfdec_test.c @@ -41,13 +41,22 @@ check_cairo (gboolean verbose) #define CAIRO_MIN_MAJOR 1 #define CAIRO_MIN_MINOR 7 #define CAIRO_MIN_MICRO 1 - if (CAIRO_VERSION < CAIRO_VERSION_ENCODE (CAIRO_MIN_MAJOR, CAIRO_MIN_MINOR, CAIRO_MIN_MICRO)) { +#define CAIRO_MAX_MAJOR 1 +#define CAIRO_MAX_MINOR 9 +#define CAIRO_MAX_MICRO 0 + if (cairo_version () < CAIRO_VERSION_ENCODE (CAIRO_MIN_MAJOR, CAIRO_MIN_MINOR, CAIRO_MIN_MICRO)) { g_print ("ERROR: Cairo version %s cannot be used to run tests; must be at least %u.%u.%u.\n", - CAIRO_VERSION_STRING, CAIRO_MIN_MAJOR, CAIRO_MIN_MINOR, CAIRO_MIN_MICRO); + cairo_version_string (), CAIRO_MIN_MAJOR, CAIRO_MIN_MINOR, CAIRO_MIN_MICRO); return FALSE; +#ifdef CAIRO_MAX_MAJOR + } else if (cairo_version () >= CAIRO_VERSION_ENCODE (CAIRO_MAX_MAJOR, CAIRO_MAX_MINOR, CAIRO_MAX_MICRO)) { + g_print ("ERROR: Cairo version %s cannot be used to run tests; must be less than %u.%u.%u.\n", + cairo_version_string (), CAIRO_MAX_MAJOR, CAIRO_MAX_MINOR, CAIRO_MAX_MICRO); + return FALSE; +#endif } else if (verbose) { g_print (" OK: Cairo version %s is ok; must be at least %u.%u.%u.\n", - CAIRO_VERSION_STRING, CAIRO_MIN_MAJOR, CAIRO_MIN_MINOR, CAIRO_MIN_MICRO); + cairo_version_string (), CAIRO_MIN_MAJOR, CAIRO_MIN_MINOR, CAIRO_MIN_MICRO); } return TRUE; } |