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

Nguyen Thai Ngoc Duy pclouds at gmail.com
Wed Jun 20 06:16:50 PDT 2007


On 6/20/07, Benjamin Otte <company at kemper.freedesktop.org> wrote:
>  libswfdec/swfdec_graphic_movie.c |   35 +++++++++++++++++++++++++++++++++++
>  libswfdec/swfdec_movie.c         |    3 +++
>  libswfdec/swfdec_movie.h         |    2 ++
>  libswfdec/swfdec_sprite_movie.c  |   13 ++++++++-----
>  4 files changed, 48 insertions(+), 5 deletions(-)
>
> New commits:
> diff-tree 255d2e184bae07fbcd9db8a906450a21e0f687c7 (from 9ed04d23be28c9dd349a2f5024546c465d09da96)
> Author: Benjamin Otte <otte at gnome.org>
> Date:   Wed Jun 20 11:28:05 2007 +0200
>
>     allow movies to replace their contents with a new Graphic
>

[snip]

> diff --git a/libswfdec/swfdec_movie.c b/libswfdec/swfdec_movie.c
> index 1b09906..c66d5be 100644
> --- a/libswfdec/swfdec_movie.c
> +++ b/libswfdec/swfdec_movie.c
> @@ -331,6 +331,7 @@ swfdec_movie_destroy (SwfdecMovie *movie
>      klass->finish_movie (movie);
>    player->movies = g_list_remove (player->movies, movie);
>    movie->state = SWFDEC_MOVIE_STATE_DESTROYED;
> +  g_print ("destroying movie %p %s\n", movie, movie->name);
>    g_object_unref (movie);
>  }
>
> @@ -936,6 +937,8 @@ swfdec_movie_new (SwfdecPlayer *player,
>    /* emit the new-movie signal */
>    if (SWFDEC_IS_DEBUGGER (player))
>      g_signal_emit_by_name (player, "movie-added", movie);
> +  g_print ("new movie %p %s for %p %s @ %u\n", movie, movie->name, parent,
> +      parent ? parent->name : "", movie->depth);
>    return movie;
>  }

Some debug code forgot to remove?
-- 
Duy


More information about the Swfdec mailing list