Displaying 19 results from an estimated 19 matches for "swfdec_sprite_movie_perform_place".
2007 Dec 16
12
[Bug 13692] New: Crash with floating point exception from Firefox
...c(125): tag_func_define_bits_jpeg: No global JPEG
tables available
SWFDEC: ERROR: swfdec_image.c(125): tag_func_define_bits_jpeg: No global JPEG
tables available
SWFDEC: ERROR: swfdec_image.c(125): tag_func_define_bits_jpeg: No global JPEG
tables available
SWFDEC: ERROR: swfdec_sprite_movie.c(288): swfdec_sprite_movie_perform_place:
using non-implemented clip events 8192
SWFDEC: ERROR: swfdec_sprite_movie.c(288): swfdec_sprite_movie_perform_place:
using non-implemented clip events 20480
SWFDEC: ERROR: swfdec_sprite_movie.c(288): swfdec_sprite_movie_perform_place:
using non-implemented clip events 2048
SWFDEC: ERROR: swfdec_sp...
2009 Apr 03
1
swfdec-player - error
Hi,
I have problem strange with swf.
When i run:
$ swfdec-player http://www.pibmug.com/files/map_test.swf
it's run swf. Everything is OK
But when I try this swf:
$ swfdec-player http://www.fi.muni.cz/~xstancek/lineChart.swf
SWFDEC: ERROR: swfdec_sprite_movie.c(286):
swfdec_sprite_movie_perform_place: using non-implemented clip events 256
.......
SWFDEC: ERROR: swfdec_sprite_movie.c(286):
swfdec_sprite_movie_perform_place: using non-implemented clip events 256
and the window is white (it's freezing)
http://www.fi.muni.cz/~xstancek/lineChart.swf is file generated by HP
Power Manager 4.2...
2010 Jan 17
1
screenshot of swf file
Hi,
Im trying to thumbnail a swf file based on this found at
http://www.mail-archive.com/swfdec at lists.freedesktop.org/msg00821.html.
#include <stdlib.h>
#include <stdio.h>
#include <swfdec/swfdec.h>
#include <cairo.h>
void swfdec_player_save (SwfdecPlayer *player, guint width, guint
height, const char *filename) {
cairo_surface_t *surface;
cairo_t *cr;
2007 Jun 20
1
Branch 'as' - libswfdec/swfdec_graphic_movie.c libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_sprite_movie.c
...cMovie * movie,
SwfdecRect * extents);
void (* render) (SwfdecMovie * movie,
diff --git a/libswfdec/swfdec_sprite_movie.c b/libswfdec/swfdec_sprite_movie.c
index 89b076f..cbbc8b7 100644
--- a/libswfdec/swfdec_sprite_movie.c
+++ b/libswfdec/swfdec_sprite_movie.c
@@ -96,6 +96,7 @@ swfdec_sprite_movie_perform_place (Swfde
guint ratio, id, version;
SwfdecEventList *events;
const char *name;
+ SwfdecGraphic *graphic;
version = SWFDEC_SWF_DECODER (mov->swf->decoder)->version;
@@ -238,20 +239,24 @@ swfdec_sprite_movie_perform_place (Swfde
/* 3) perform the actions depending on the s...
2007 Jul 12
0
Branch 'as' - 7 commits - libswfdec/swfdec_as_array.c libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_object.h libswfdec/swfdec_as_with.c libswfdec/swfdec_sprite_movie.c test/trace
...njamin Otte <otte at gnome.org>
Date: Wed Jul 11 21:45:33 2007 +0200
fix memleak
diff --git a/libswfdec/swfdec_sprite_movie.c b/libswfdec/swfdec_sprite_movie.c
index e2c535b..8bac537 100644
--- a/libswfdec/swfdec_sprite_movie.c
+++ b/libswfdec/swfdec_sprite_movie.c
@@ -299,7 +299,7 @@ swfdec_sprite_movie_perform_place (Swfde
if (move) {
if (cur == NULL) {
SWFDEC_INFO ("no movie at depth %d, ignoring move command", depth);
- return TRUE;
+ goto out;
}
if (graphic) {
SwfdecMovieClass *klass = SWFDEC_MOVIE_GET_CLASS (cur);
@@ -311,10 +311,12 @@ swfdec_sprite_movie...
2007 Jun 18
0
Branch 'as' - 8 commits - libswfdec/swfdec_movie.c libswfdec/swfdec_sprite.c libswfdec/swfdec_sprite.h libswfdec/swfdec_sprite_movie.c libswfdec/swfdec_sprite_movie.h libswfdec/swfdec_swf_decoder.c libswfdec/swfdec_swf_decoder.h
...fail (graphic == NULL || SWFDEC_IS_GRAPHIC (graphic), NULL);
/* create the right movie */
diff --git a/libswfdec/swfdec_sprite_movie.c b/libswfdec/swfdec_sprite_movie.c
index e6430a3..89b076f 100644
--- a/libswfdec/swfdec_sprite_movie.c
+++ b/libswfdec/swfdec_sprite_movie.c
@@ -247,7 +247,7 @@ swfdec_sprite_movie_perform_place (Swfde
has_ctrans ? &ctrans : NULL, ratio, clip_depth, events);
} else {
SwfdecGraphic *graphic;
- if (cur != NULL) {
+ if (cur != NULL && version > 5) {
SWFDEC_INFO ("depth %d is already occupied by movie %s, not placing", depth, cur->name);...
2007 Dec 05
2
[Bug 13529] New: swf-mozilla will crash firefox when access www.tudou.com
...http://www.tudou.com/static/bin/frontpage_player.swf?iid=11994270
SWFDEC: ERROR: swfdec_image.c(125): tag_func_define_bits_jpeg: No global JPEG
tables available
SWFDEC: ERROR: swfdec_image.c(125): tag_func_define_bits_jpeg: No global JPEG
tables available
SWFDEC: ERROR: swfdec_sprite_movie.c(288): swfdec_sprite_movie_perform_place:
using non-implemented clip events 1024
Loading stream: http://www.tudou.com/player/v.php?id=12018990&1196833313
Loading stream:
http://adcontrol.tudou.com/adcontrol/adcontrol?itemId=12018990&juid=ajuqua00lb2&channelId=3&sourceId=11000&rand=65773286
Loading stream: http://img01....
2007 Aug 13
0
2 commits - libswfdec/swfdec_sprite_movie.c libswfdec/swfdec_tag.c libswfdec/swfdec_tag.h
...e at gnome.org>
Date: Mon Aug 13 14:12:25 2007 +0200
split out filter parsing code
diff --git a/libswfdec/swfdec_sprite_movie.c b/libswfdec/swfdec_sprite_movie.c
index 4b67ed5..488864c 100644
--- a/libswfdec/swfdec_sprite_movie.c
+++ b/libswfdec/swfdec_sprite_movie.c
@@ -184,64 +184,8 @@ swfdec_sprite_movie_perform_place (Swfde
clip_depth = 0;
}
- if (has_filter) {
- guint i, n_filters, filter_id;
- n_filters = swfdec_bits_get_u8 (bits);
- SWFDEC_LOG (" filters: %u", n_filters);
- for (i = 0; i < n_filters && swfdec_bits_left (bits); i++) {
- filter_id = swfdec_bits...
2007 Jun 28
0
Branch 'as' - 4 commits - libswfdec/swfdec_debugger.c libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_sprite_movie.c test/image
...th,
SwfdecEventList * events);
void swfdec_movie_invalidate (SwfdecMovie * movie);
diff --git a/libswfdec/swfdec_sprite_movie.c b/libswfdec/swfdec_sprite_movie.c
index 457644e..1712104 100644
--- a/libswfdec/swfdec_sprite_movie.c
+++ b/libswfdec/swfdec_sprite_movie.c
@@ -165,7 +165,7 @@ swfdec_sprite_movie_perform_place (Swfde
ratio = swfdec_bits_get_u16 (bits);
SWFDEC_LOG (" ratio = %d", ratio);
} else {
- ratio = 0;
+ ratio = -1;
}
if (has_name) {
diff-tree 8667de8f3c4c44801a950f58aae4b3a6bd0a5c17 (from 81472f980827d624a88339abd8db0e40c8aaf453)
Author: Benjamin Otte <otte...
2007 Aug 29
0
15 commits - libswfdec/swfdec_as_strings.c libswfdec/swfdec_initialize.as libswfdec/swfdec_initialize.h libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_sprite.c libswfdec/swfdec_sprite_movie.c libswfdec/swfdec_system_as.c
...;
Date: Wed Aug 29 13:43:03 2007 +0200
no need to throw errors for blend modes anymore
diff --git a/libswfdec/swfdec_sprite_movie.c b/libswfdec/swfdec_sprite_movie.c
index 56878c9..15d005b 100644
--- a/libswfdec/swfdec_sprite_movie.c
+++ b/libswfdec/swfdec_sprite_movie.c
@@ -184,7 +184,7 @@ swfdec_sprite_movie_perform_place (Swfde
if (has_blend_mode) {
blend_mode = swfdec_bits_get_u8 (bits);
- SWFDEC_ERROR (" blend mode = %u", blend_mode);
+ SWFDEC_LOG (" blend mode = %u", blend_mode);
} else {
blend_mode = 0;
}
diff-tree 2c1b79c0da63c520d630d0417af98bc4ef89e180 (from 6...
2007 Jul 03
0
Branch 'as' - 7 commits - libswfdec/swfdec_as_math.c libswfdec/swfdec_as_object.c libswfdec/swfdec_movie.c libswfdec/swfdec_sprite_movie.c test/trace
...43 2007 +0100
add movies to the script context before accessing any of their variables
diff --git a/libswfdec/swfdec_sprite_movie.c b/libswfdec/swfdec_sprite_movie.c
index 14ce0ff..3e741ea 100644
--- a/libswfdec/swfdec_sprite_movie.c
+++ b/libswfdec/swfdec_sprite_movie.c
@@ -266,12 +266,12 @@ swfdec_sprite_movie_perform_place (Swfde
cur = swfdec_movie_new (player, depth, mov, graphic, name);
swfdec_movie_set_static_properties (cur, has_transform ? &transform : NULL,
has_ctrans ? &ctrans : NULL, ratio, clip_depth, events);
+ swfdec_movie_initialize (cur);
if (SWFDEC_IS_SPRITE_MOVIE (cur)) {...
2007 Jul 18
0
12 commits - configure.ac doc/swfdec-sections.txt libswfdec-gtk/swfdec_playback_alsa.c libswfdec/jpeg libswfdec/Makefile.am libswfdec/swfdec_amf.c libswfdec/swfdec_as_array.c libswfdec/swfdec_as_boolean.h libswfdec/swfdec_as_context.c
...gpointer decoder;
diff --git a/libswfdec/swfdec_sprite_movie.c b/libswfdec/swfdec_sprite_movie.c
index 20aa7a1..4b67ed5 100644
--- a/libswfdec/swfdec_sprite_movie.c
+++ b/libswfdec/swfdec_sprite_movie.c
@@ -74,7 +74,7 @@ swfdec_get_clipeventflags (SwfdecMovie *
}
}
-gboolean
+static gboolean
swfdec_sprite_movie_perform_place (SwfdecSpriteMovie *movie, SwfdecBits *bits, guint tag)
{
SwfdecPlayer *player = SWFDEC_PLAYER (SWFDEC_AS_OBJECT (movie)->context);
@@ -185,12 +185,12 @@ swfdec_sprite_movie_perform_place (Swfde
}
if (has_filter) {
- guint i, n_filters, id;
+ guint i, n_filters, filter_id;...
2007 Nov 07
0
14 commits - libswfdec/swfdec_as_context.c libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_interpret.h libswfdec/swfdec_net_stream.c libswfdec/swfdec_script.c libswfdec/swfdec_sprite_movie.c libswfdec/swfdec_tag.c libswfdec/swfdec_text_field_movie.c
..._ctrans ? &ctrans : NULL, -1, 0, 0, NULL);
+ swfdec_movie_queue_script (cur, SWFDEC_EVENT_INITIALIZE);
+ swfdec_movie_queue_script (cur, SWFDEC_EVENT_CONSTRUCT);
+ swfdec_movie_queue_script (cur, SWFDEC_EVENT_LOAD);
+ swfdec_movie_initialize (cur);
+
+ return TRUE;
+}
+
+
+static gboolean
swfdec_sprite_movie_perform_place (SwfdecSpriteMovie *movie, SwfdecBits *bits, guint tag)
{
SwfdecPlayer *player = SWFDEC_PLAYER (SWFDEC_AS_OBJECT (movie)->context);
@@ -77,7 +145,7 @@ swfdec_sprite_movie_perform_place (SwfdecSpriteMovie *movie, SwfdecBits *bits, g
gboolean has_transform;
gboolean has_character;
gbo...
2007 Nov 22
0
5 commits - libswfdec/swfdec_as_interpret.c libswfdec/swfdec_bits.c libswfdec/swfdec_bits.h libswfdec/swfdec_debugger.c libswfdec/swfdec_movie.c libswfdec/swfdec_script.c libswfdec/swfdec_sprite_movie.c libswfdec/swfdec_tag.c libswfdec/swfdec_text_field.c
...DEC_ERROR ("not enough strings available");
swfdec_constant_pool_free (pool);
diff --git a/libswfdec/swfdec_sprite_movie.c b/libswfdec/swfdec_sprite_movie.c
index 6ffdc67..1a7b6d5 100644
--- a/libswfdec/swfdec_sprite_movie.c
+++ b/libswfdec/swfdec_sprite_movie.c
@@ -229,7 +229,7 @@ swfdec_sprite_movie_perform_place (SwfdecSpriteMovie *movie, SwfdecBits *bits, g
}
if (has_name) {
- char *s = swfdec_bits_get_string_with_version (bits, version);
+ char *s = swfdec_bits_get_string (bits, version);
name = swfdec_as_context_give_string (SWFDEC_AS_CONTEXT (player), s);
SWFDEC_LOG (" nam...
2007 Oct 18
0
18 commits - doc/swfdec-sections.txt libswfdec/Makefile.am libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_strings.c libswfdec/swfdec_button_movie.c libswfdec/swfdec_event.c libswfdec/swfdec_event.h libswfdec/swfdec_flash_security.c
...SwfdecSpriteMovie * movie);
void swfdec_resource_advance (SwfdecResource * instance);
diff --git a/libswfdec/swfdec_sprite_movie.c b/libswfdec/swfdec_sprite_movie.c
index 68c6fd7..bf80f93 100644
--- a/libswfdec/swfdec_sprite_movie.c
+++ b/libswfdec/swfdec_sprite_movie.c
@@ -263,7 +263,7 @@ swfdec_sprite_movie_perform_place (SwfdecSpriteMovie *movie, SwfdecBits *bits, g
swfdec_event_list_free (events);
return FALSE;
}
- cur = swfdec_movie_new (player, depth, mov, graphic, name);
+ cur = swfdec_movie_new (player, depth, mov, mov->resource, graphic, name);
swfdec_movie_set_static_properties (...
2007 Oct 25
0
6 commits - libswfdec/swfdec_as_interpret.c libswfdec/swfdec_event.c libswfdec/swfdec_event.h libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_player.c libswfdec/swfdec_player_internal.h libswfdec/swfdec_resource.c
...atic void
-swfdec_sprite_movie_run_script (gpointer movie, gpointer data)
-{
- swfdec_as_object_run_with_security (movie, data,
- SWFDEC_SECURITY (SWFDEC_MOVIE (movie)->resource));
-}
-
static int
swfdec_get_clipeventflags (SwfdecMovie *movie, SwfdecBits * bits)
{
@@ -213,15 +206,16 @@ swfdec_sprite_movie_perform_place (SwfdecSpriteMovie *movie, SwfdecBits *bits, g
SwfdecBits action_bits;
swfdec_bits_init_bits (&action_bits, bits, length);
- if (event_flags & SWFDEC_EVENT_KEY_PRESS)
+ if (event_flags & (1<<SWFDEC_EVENT_KEY_PRESS))
key_code = swfdec_bits_get_u8 (&a...
2007 Aug 13
0
Branch 'vivi' - 24 commits - configure.ac libswfdec/swfdec_sprite_movie.c libswfdec/swfdec_tag.c libswfdec/swfdec_tag.h vivified/core vivified/dock vivified/ui
...e at gnome.org>
Date: Mon Aug 13 14:12:25 2007 +0200
split out filter parsing code
diff --git a/libswfdec/swfdec_sprite_movie.c b/libswfdec/swfdec_sprite_movie.c
index 4b67ed5..488864c 100644
--- a/libswfdec/swfdec_sprite_movie.c
+++ b/libswfdec/swfdec_sprite_movie.c
@@ -184,64 +184,8 @@ swfdec_sprite_movie_perform_place (Swfde
clip_depth = 0;
}
- if (has_filter) {
- guint i, n_filters, filter_id;
- n_filters = swfdec_bits_get_u8 (bits);
- SWFDEC_LOG (" filters: %u", n_filters);
- for (i = 0; i < n_filters && swfdec_bits_left (bits); i++) {
- filter_id = swfdec_bits...
2007 Jul 04
0
Branch 'as' - 25 commits - libswfdec/Makefile.am libswfdec/swfdec_as_boolean.c libswfdec/swfdec_as_boolean.h libswfdec/swfdec_as_context.c libswfdec/swfdec_as_context.h libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame.h libswfdec/swfdec_as_function.c
...t (movie, SWFDEC_EVENT_LOAD);
}
+ swfdec_movie_initialize (movie);
return movie;
}
diff --git a/libswfdec/swfdec_sprite_movie.c b/libswfdec/swfdec_sprite_movie.c
index 5c40d39..1f088ba 100644
--- a/libswfdec/swfdec_sprite_movie.c
+++ b/libswfdec/swfdec_sprite_movie.c
@@ -266,12 +266,12 @@ swfdec_sprite_movie_perform_place (Swfde
cur = swfdec_movie_new (player, depth, mov, graphic, name);
swfdec_movie_set_static_properties (cur, has_transform ? &transform : NULL,
has_ctrans ? &ctrans : NULL, ratio, clip_depth, events);
- swfdec_movie_initialize (cur);
if (SWFDEC_IS_SPRITE_MOVIE (cur)) {...
2007 Nov 28
0
59 commits - libswfdec-gtk/swfdec_gtk_widget.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_object.h libswfdec/swfdec_button.c libswfdec/swfdec_button.h libswfdec/swfdec_button_movie.c libswfdec/swfdec_button_movie.h libswfdec/swfdec_event.c
...(swfdec_button_movie_parent_class)->mouse_release (movie, button);
+ }
}
static void
diff --git a/libswfdec/swfdec_sprite_movie.c b/libswfdec/swfdec_sprite_movie.c
index a9f99a7..15d6af3 100644
--- a/libswfdec/swfdec_sprite_movie.c
+++ b/libswfdec/swfdec_sprite_movie.c
@@ -280,12 +280,10 @@ swfdec_sprite_movie_perform_place (SwfdecSpriteMovie *movie, SwfdecBits *bits, g
key_code = 0;
SWFDEC_INFO ("clip event with flags 0x%X, key code %d", event_flags, key_code);
-#define SWFDEC_IMPLEMENTED_EVENTS \
- ((1<< SWFDEC_EVENT_LOAD) | (1<<SWFDEC_EVENT_UNLOAD) | (1<<SWFDEC_EVENT_ENTER) |...