Displaying 6 results from an estimated 6 matches for "swfdec_resource_create_movie".
2008 Jun 28
2
[Bug 16558] New: flenstedmodern.com: assertion `swfdec_player_get_movie_at_level (player, level) == NULL' failed
...QAContact: swfdec at lists.freedesktop.org
When you click from the second time in the menu you got:
(gecko:2833): Swfdec-CRITICAL **: swfdec_player_create_movie_at_level:
assertion `swfdec_player_get_movie_at_level (player, level) == NULL' failed
SWFDEC: WARN : swfdec_resource.c(557): swfdec_resource_create_movie: target
does not reference a movie, not loading about_top.swf
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
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
...et)->movie)->context);
+ return SWFDEC_RESOURCE (target)->player;
}
static void
@@ -158,12 +155,60 @@ swfdec_resource_emit_error (SwfdecResource *resource, const char *message)
swfdec_resource_emit_signal (resource, SWFDEC_AS_STR_onLoadError, FALSE, vals, 2);
}
+static gboolean
+swfdec_resource_create_movie (SwfdecResource *resource)
+{
+ SwfdecPlayer *player;
+ SwfdecSpriteMovie *movie;
+ int level = -1;
+
+ if (resource->movie)
+ return TRUE;
+ player = resource->player;
+ movie = (SwfdecSpriteMovie *) swfdec_action_lookup_object (SWFDEC_AS_CONTEXT (player),
+ player->roots-&g...
2007 Nov 10
0
10 commits - libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_types.c libswfdec/swfdec_initialize.as libswfdec/swfdec_initialize.h libswfdec/swfdec_movie.c libswfdec/swfdec_movie_clip_loader.c libswfdec/swfdec_movie.h libswfdec/swfdec_resource.c
...rity issue? */
+ swfdec_movie_set_static_properties (copy, &mov->original_transform,
+ &mov->original_ctrans, mov->original_ratio, mov->clip_depth,
+ mov->blend_mode, NULL);
+ swfdec_movie_remove (mov);
+ return SWFDEC_SPRITE_MOVIE (copy);
+}
+
static gboolean
swfdec_resource_create_movie (SwfdecResource *resource)
{
@@ -186,21 +206,7 @@ swfdec_resource_create_movie (SwfdecResource *resource)
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 */
-...
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
...cPlayer * player,
const char * name);
void swfdec_player_set_export_class (SwfdecPlayer * player,
diff --git a/libswfdec/swfdec_resource.c b/libswfdec/swfdec_resource.c
index cac371a..f4fcf3c 100644
--- a/libswfdec/swfdec_resource.c
+++ b/libswfdec/swfdec_resource.c
@@ -210,7 +210,7 @@ swfdec_resource_create_movie (SwfdecResource *resource)
SWFDEC_WARNING ("%s 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_OB...
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
...+ movie = swfdec_action_lookup_object (cx, SWFDEC_PLAYER (cx)->priv->roots->data,
resource->target, resource->target + strlen (resource->target));
if (!SWFDEC_IS_SPRITE_MOVIE (movie)) {
SWFDEC_DEBUG ("no movie, not emitting signal");
@@ -203,7 +203,7 @@ swfdec_resource_create_movie (SwfdecResource *resource)
return TRUE;
player = SWFDEC_FLASH_SECURITY (resource)->player;
movie = (SwfdecSpriteMovie *) swfdec_action_lookup_object (SWFDEC_AS_CONTEXT (player),
- player->roots->data, resource->target, resource->target + strlen (resource->target));...
2007 Nov 30
0
36 commits - libswfdec/Makefile.am libswfdec/swfdec_as_context.c libswfdec/swfdec_as_date.c libswfdec/swfdec_as_initialize.as libswfdec/swfdec_as_initialize.h libswfdec/swfdec_as_strings.c libswfdec/swfdec_flash_security.c
..._resource_is_root (instance)) {
swfdec_movie_initialize (SWFDEC_MOVIE (movie));
- swfdec_player_perform_actions (instance->player);
+ swfdec_player_perform_actions (SWFDEC_FLASH_SECURITY (instance)->player);
}
} else {
g_assert_not_reached ();
@@ -200,7 +201,7 @@ swfdec_resource_create_movie (SwfdecResource *resource)
if (resource->movie)
return TRUE;
- player = resource->player;
+ player = SWFDEC_FLASH_SECURITY (resource)->player;
movie = (SwfdecSpriteMovie *) swfdec_action_lookup_object (SWFDEC_AS_CONTEXT (player),
player->roots->data, resource-&g...