Displaying 2 results from an estimated 2 matches for "rectanle".
Did you mean:
rectangle
2007 Oct 28
0
2 commits - libswfdec/swfdec_as_object.c libswfdec/swfdec_player.c
...791094 100644
--- a/libswfdec/swfdec_player.c
+++ b/libswfdec/swfdec_player.c
@@ -1624,7 +1624,8 @@ swfdec_player_invalidate (SwfdecPlayer *player, const SwfdecRect *rect)
guint i;
if (swfdec_rect_is_empty (rect)) {
- g_assert_not_reached ();
+ SWFDEC_ERROR ("called with an empty rectanle. In theory this shouldn't happen.");
+ SWFDEC_ERROR (" However, degenerate matrixes can cause this. We need a fix for that.");
return;
}
commit ccfef0a67802ebdf20402d547f7afd67c96119c3
Author: Riccardo Magliocchetti <riccardo at datahost.it>
Date: Sun Oct 28...
2007 Dec 10
0
6 commits - libswfdec/Makefile.am libswfdec/swfdec_as_interpret.c libswfdec/swfdec_color_as.c libswfdec/swfdec_graphic_movie.c libswfdec/swfdec_image_decoder.c libswfdec/swfdec_morph_movie.c libswfdec/swfdec_movie_as_drawing.c
...);
g_object_thaw_notify (G_OBJECT (player));
swfdec_player_emit_signals (player);
@@ -1746,11 +1767,8 @@ swfdec_player_invalidate (SwfdecPlayer *player, const SwfdecRect *rect)
SwfdecRect tmp;
guint i;
- if (swfdec_rect_is_empty (rect)) {
- SWFDEC_ERROR ("called with an empty rectanle. In theory this shouldn't happen.");
- SWFDEC_ERROR (" However, degenerate matrixes can cause this. We need a fix for that.");
+ if (swfdec_rect_is_empty (rect))
return;
- }
tmp = *rect;
swfdec_player_global_to_stage (player, &tmp.x0, &tmp.y0);
@@ -1763...