[Swfdec] Branch 'as' - libswfdec/swfdec_movie.c

Benjamin Otte company at kemper.freedesktop.org
Wed Jun 13 07:35:05 PDT 2007


 libswfdec/swfdec_movie.c |    3 +++
 1 files changed, 3 insertions(+)

New commits:
diff-tree 774031e0bb34710e971ab143aac62300907486d3 (from a6c380467a9cb20fd2d151d74603f1de5637cabf)
Author: Benjamin Otte <otte at gnome.org>
Date:   Wed Jun 13 16:34:43 2007 +0200

    fix matrix calculation - 3 lines got lost in the reorg

diff --git a/libswfdec/swfdec_movie.c b/libswfdec/swfdec_movie.c
index cee0ba6..53ca79e 100644
--- a/libswfdec/swfdec_movie.c
+++ b/libswfdec/swfdec_movie.c
@@ -951,6 +951,9 @@ swfdec_movie_set_static_properties (Swfd
   }
   if (transform) {
     movie->original_transform = *transform;
+    movie->xscale = swfdec_matrix_get_xscale (&movie->original_transform);
+    movie->yscale = swfdec_matrix_get_yscale (&movie->original_transform);
+    movie->rotation = swfdec_matrix_get_rotation (&movie->original_transform);
     swfdec_movie_queue_update (movie, SWFDEC_MOVIE_INVALID_MATRIX);
   }
   if (ctrans) {


More information about the Swfdec mailing list