search for: swfdec_player_get_movie_at_level

Displaying 7 results from an estimated 7 matches for "swfdec_player_get_movie_at_level".

2008 Jun 28
2
[Bug 16558] New: flenstedmodern.com: assertion `swfdec_player_get_movie_at_level (player, level) == NULL' failed
http://bugs.freedesktop.org/show_bug.cgi?id=16558 Summary: flenstedmodern.com: assertion `swfdec_player_get_movie_at_level (player, level) == NULL' failed Product: swfdec Version: git Platform: Other URL: http://www.flenstedmodern.com/ OS/Version: All Status: NEW Severity: enhancement Priority: medium...
2007 Nov 01
0
3 commits - libswfdec/Makefile.am libswfdec/swfdec_as_interpret.c libswfdec/swfdec_loader.c libswfdec/swfdec_loader_internal.h libswfdec/swfdec_load_object_as.c libswfdec/swfdec_load_object.c libswfdec/swfdec_net_stream.c libswfdec/swfdec_player.c
...thor: Benjamin Otte <otte at gnome.org> Date: Wed Oct 31 22:22:19 2007 +0100 that function was unused diff --git a/libswfdec/swfdec_player.c b/libswfdec/swfdec_player.c index 09e83e4..c75ae73 100644 --- a/libswfdec/swfdec_player.c +++ b/libswfdec/swfdec_player.c @@ -1775,30 +1775,6 @@ swfdec_player_get_movie_at_level (SwfdecPlayer *player, int level) return NULL; } -void -swfdec_player_remove_level (SwfdecPlayer *player, guint depth) -{ - GList *walk; - int real_depth; - - real_depth = (int) depth - 16384; - - for (walk = player->roots; walk; walk = walk->next) { - SwfdecMovie *movie = walk-&...
2007 Nov 08
0
libswfdec/swfdec_load_object.c libswfdec/swfdec_movie.c libswfdec/swfdec_player.c libswfdec/swfdec_player_internal.h libswfdec/swfdec_resource.c libswfdec/swfdec_resource.h
...does not reference a movie, not loading %s", resource->target, + swfdec_url_get_url (swfdec_loader_get_url (resource->loader))); + swfdec_loader_close (resource->loader); + swfdec_player_unroot_object (player, G_OBJECT (resource)); + return FALSE; + } + movie = swfdec_player_get_movie_at_level (player, level); + } + if (movie == NULL) { + movie = swfdec_player_create_movie_at_level (player, resource, level); + } else { + /* can't use swfdec_movie_duplicate() here, we copy to same depth */ + SwfdecMovie *mov = SWFDEC_MOVIE (movie); + SwfdecMovie *copy; + + copy =...
2007 Nov 08
0
11 commits - libswfdec/swfdec_as_interpret.c libswfdec/swfdec_loader.c libswfdec/swfdec_loader.h libswfdec/swfdec_net_stream.c libswfdec/swfdec_player.c libswfdec/swfdec_player_internal.h libswfdec/swfdec_resource.c libswfdec/swfdec_resource_request.c
...FDEC_PLAYER (cx), url, target)) { /* nothing to do here */ } else if (variables) { SwfdecMovie *movie; diff --git a/libswfdec/swfdec_player.c b/libswfdec/swfdec_player.c index fdf6872..fb5e2d6 100644 --- a/libswfdec/swfdec_player.c +++ b/libswfdec/swfdec_player.c @@ -1801,52 +1801,6 @@ swfdec_player_get_movie_at_level (SwfdecPlayer *player, int level) return NULL; } -static gboolean -is_ascii (const char *s) -{ - while (*s) { - if (*s & 0x80) - return FALSE; - s++; - } - return TRUE; -} - -/** - * swfdec_player_fscommand: - * @player: a #SwfdecPlayer - * @command: the command to parse - *...
2007 Dec 13
0
libswfdec-gtk/swfdec_gtk_player.c libswfdec/swfdec_as_date.c libswfdec/swfdec_audio.c libswfdec/swfdec_audio_event.c libswfdec/swfdec_button_movie.c libswfdec/swfdec_interval.c libswfdec/swfdec_key_as.c libswfdec/swfdec_mouse_as.c libswfdec/swfdec_movie.c
...gt;invalidations->len); + priv->invalid_extents.x, priv->invalid_extents.y, + priv->invalid_extents.x + priv->invalid_extents.width, + priv->invalid_extents.y + priv->invalid_extents.height, + priv->invalidations->len); } /** @@ -1877,7 +1928,7 @@ swfdec_player_get_movie_at_level (SwfdecPlayer *player, int level) depth = level - 16384; /* find movie */ - for (walk = player->roots; walk; walk = walk->next) { + for (walk = player->priv->roots; walk; walk = walk->next) { SwfdecMovie *cur = walk->data; if (cur->depth < depth) c...
2007 Nov 07
0
36 commits - doc/swfdec-sections.txt libswfdec/Makefile.am libswfdec/swfdec_amf.c libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_object.h libswfdec/swfdec_as_strings.c libswfdec/swfdec_buffer.c libswfdec/swfdec_buffer.h
...= swfdec_player_get_level (player, resource->target); + if (level < 0) { + SWFDEC_WARNING ("%s does not reference a movie, not loading %s", resource->target, + swfdec_url_get_url (swfdec_loader_get_url (loader))); + swfdec_loader_close (loader); + } movie = swfdec_player_get_movie_at_level (player, level); } if (movie == NULL) { @@ -340,14 +353,6 @@ swfdec_resource_do_load (SwfdecPlayer *player, SwfdecLoader *loader, gpointer ta swfdec_movie_remove (mov); movie = SWFDEC_SPRITE_MOVIE (copy); } - g_object_unref (resource); - g_object_unref (loader); - return; - -f...
2008 Jan 21
0
70 commits - configure.ac libswfdec-gtk/Makefile.am libswfdec-gtk/swfdec-gtk.h libswfdec-gtk/swfdec_gtk_loader.c libswfdec-gtk/swfdec_gtk_player.c libswfdec-gtk/swfdec_gtk_socket.c libswfdec-gtk/swfdec_gtk_socket.h libswfdec-gtk/swfdec_playback_alsa.c
...;, resource->target, swfdec_url_get_url (swfdec_loader_get_url (resource->loader))); swfdec_loader_close (resource->loader); - swfdec_player_unroot_object (player, G_OBJECT (resource)); + swfdec_player_unroot (player, resource); return FALSE; } movie = swfdec_player_get_movie_at_level (player, level); @@ -220,7 +220,7 @@ swfdec_resource_create_movie (SwfdecResource *resource) } else { movie = swfdec_resource_replace_movie (movie, resource); } - swfdec_player_unroot_object (player, G_OBJECT (resource)); + swfdec_player_unroot (player, resource); return TRUE; }...