search for: swfdec_movie_do_render

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

2009 Apr 01
1
[Bug 21004] New: segfault loading www.serjtankian. com in swfdec_buffer_ref at swfdec_buffer.c:269
...swfdec_movie_render (movie=0xbb5a000, cr=0xc3e2c60, color_transform=0xffc31b64) at swfdec_movie.c:804 trans = {mask = 0, ra = 256, rb = 0, ga = 256, gb = 0, ba = 256, bb = 0, aa = 256, ab = 0} group = 0 __PRETTY_FUNCTION__ = "swfdec_movie_render" #7 0xf35b8e3a in swfdec_movie_do_render (movie=0xa2a8ea8, cr=0xc3e2c60, ctrans=0xffc31b64) at swfdec_movie.c:1311 child = (SwfdecMovie *) 0xbb5a000 g = (GList *) 0xa37e280 walk = <value optimized out> clips = (GSList *) 0x0 clip = (ClipEntry *) 0x0 ident = {xx = 1, yx = 0, xy = 0, yy...
2009 Mar 06
1
questions
...ing really, really slowly. The log message are below. Is this clipping a problem with the movie itself? SWFDEC: INFO : src/libs/libswfdec/swfdec/swfdec_player.c(3140): swfdec_player_render_with_renderer: === 026E9010: START RENDER === SWFDEC: INFO : src/libs/libswfdec/swfdec/swfdec_movie.c(1304): swfdec_movie_do_render: clipping up to depth -16381 by using with depth -16383 SWFDEC: INFO : src/libs/libswfdec/swfdec/swfdec_movie.c(1287): swfdec_movie_do_render: unsetting clip depth -16381 for depth -16380 SWFDEC: INFO : src/libs/libswfdec/swfdec/swfdec_movie.c(1304): swfdec_movie_do_render: clipping up to depth -1...
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;
2008 Jun 17
2
[Bug 16395] New: glib abort for "double free or corruption" in jpeg code
...a = 256, ab = 0} rect = {x0 = -3000.0005030370862, y0 = -13213.866485822067, x1 = 3000.0005030370871, y1 = 13269.421947187724} group = 0 __PRETTY_FUNCTION__ = "swfdec_movie_render" ---Type <return> to continue, or q <return> to quit--- #20 0xb1a9f89d in swfdec_movie_do_render (movie=0x9c0e708, cr=0xa9da9c0, ctrans=0xbfd7f254, inval=0xbfd7f278) at swfdec_movie.c:1271 child = (SwfdecMovie *) 0xac72d60 g = (GList *) 0xac07540 walk = <value optimized out> clips = (GSList *) 0x0 clip = (ClipEntry *) 0x0 ident = {xx = 1, y...
2007 Nov 20
0
19 commits - libswfdec/swfdec_audio_event.c libswfdec/swfdec_bits.c libswfdec/swfdec_color.c libswfdec/swfdec_color.h libswfdec/swfdec_flv_decoder.c libswfdec/swfdec_image.c libswfdec/swfdec_initialize.as libswfdec/swfdec_initialize.h
..._movie.c index 268e1e1..c0e886a 100644 --- a/libswfdec/swfdec_movie.c +++ b/libswfdec/swfdec_movie.c @@ -1159,7 +1159,7 @@ swfdec_movie_iterate_end (SwfdecMovie *movie) } typedef struct { - cairo_pattern_t * mask; + SwfdecMovie * movie; int depth; } ClipEntry; @@ -1203,11 +1203,13 @@ swfdec_movie_do_render (SwfdecMovie *movie, cairo_t *cr, SwfdecMovie *child = g->data; while (clip && clip->depth < child->depth) { + cairo_pattern_t *mask; SWFDEC_INFO ("unsetting clip depth %d for depth %d", clip->depth, child->depth); - cairo_set_operato...
2007 Dec 10
0
6 commits - libswfdec/Makefile.am libswfdec/swfdec_as_interpret.c libswfdec/swfdec_color_as.c libswfdec/swfdec_graphic_movie.c libswfdec/swfdec_image_decoder.c libswfdec/swfdec_morph_movie.c libswfdec/swfdec_movie_as_drawing.c
...ec_movie_class_init (SwfdecMovieClass * movie_class) { GObjectClass *object_class = G_OBJECT_CLASS (movie_class); @@ -1374,6 +1445,7 @@ swfdec_movie_class_init (SwfdecMovieClass * movie_class) G_MININT, G_MAXINT, 0, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY)); movie_class->render = swfdec_movie_do_render; + movie_class->invalidate = swfdec_movie_do_invalidate; movie_class->contains = swfdec_movie_do_contains; movie_class->iterate_end = swfdec_movie_iterate_end; movie_class->mouse_events = swfdec_movie_mouse_events; @@ -1404,7 +1476,7 @@ swfdec_movie_set_depth (SwfdecMovie *mov...
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
...guint8 key); +gboolean swfdec_event_list_has_mouse_events(SwfdecEventList * list); G_END_DECLS diff --git a/libswfdec/swfdec_movie.c b/libswfdec/swfdec_movie.c index 620a42b..966778e 100644 --- a/libswfdec/swfdec_movie.c +++ b/libswfdec/swfdec_movie.c @@ -1273,7 +1273,25 @@ swfdec_movie_do_render (SwfdecMovie *movie, cairo_t *cr, static gboolean swfdec_movie_mouse_events (SwfdecMovie *movie) { - return TRUE; + SwfdecAsObject *object; + + /* root movies don't get event */ + if (movie->parent == NULL) + return FALSE; + /* look if we have a script that gets events */ + if (m...