search for: swfdec_video_movie_new_image

Displaying 6 results from an estimated 6 matches for "swfdec_video_movie_new_image".

2007 Mar 02
0
12 commits - libswfdec/Makefile.am libswfdec/swfdec_audio_flv.c libswfdec/swfdec_flv_decoder.c libswfdec/swfdec_js.c libswfdec/swfdec_js.h libswfdec/swfdec_js_video.c libswfdec/swfdec_loader.c libswfdec/swfdec_loader_internal.h
...o (SwfdecNetS CAIRO_FORMAT_ARGB32, w, h, w * 4); cairo_surface_set_user_data (stream->surface, &key, decoded, (cairo_destroy_func_t) swfdec_buffer_unref); + if (old != stream->surface) { + GList *walk; + for (walk = stream->movies; walk; walk = walk->next) { + swfdec_video_movie_new_image (walk->data, stream->surface, w, h); + } + } } } } - if (old != stream->surface) { - GList *walk; - for (walk = stream->movies; walk; walk = walk->next) { - swfdec_video_movie_new_image (walk->data, stream->surface); - } - } } static void di...
2007 Apr 06
0
3 commits - libswfdec-gtk/swfdec_gtk_loader.c libswfdec/Makefile.am libswfdec/swfdec_codec.c libswfdec/swfdec_codec_ffmpeg.c libswfdec/swfdec_codec_gst.c libswfdec/swfdec_codec.h libswfdec/swfdec_codec_screen.c libswfdec/swfdec_codec_video.c
...ded->data, - CAIRO_FORMAT_RGB24, w, h, w * 4); - cairo_surface_set_user_data (stream->surface, &key, - decoded, (cairo_destroy_func_t) swfdec_buffer_unref); - if (old != stream->surface) { - GList *walk; - for (walk = stream->movies; walk; walk = walk->next) { - swfdec_video_movie_new_image (walk->data, stream->surface, w, h); - } - } + stream->surface = swfdec_video_decoder_decode (stream->decoder, buffer); + } + if (stream->surface) { + GList *walk; + for (walk = stream->movies; walk; walk = walk->next) { + swfdec_video_movie_new_image (wa...
2007 Sep 05
0
5 commits - libswfdec/swfdec_codec_ffmpeg.c libswfdec/swfdec_codec_video.c libswfdec/swfdec_player.c libswfdec/swfdec_video.c
...ibswfdec/swfdec_video.c index 7caaeca..f825e3c 100644 --- a/libswfdec/swfdec_video.c +++ b/libswfdec/swfdec_video.c @@ -80,6 +80,8 @@ swfdec_video_input_iterate (SwfdecVideoM return; surface = swfdec_video_decoder_decode (input->decoder, buffer); + if (surface == NULL) + return; swfdec_video_movie_new_image (input->movie, surface); cairo_surface_destroy (surface); }
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
...c401125 100644 --- a/libswfdec/swfdec_net_stream.c +++ b/libswfdec/swfdec_net_stream.c @@ -115,7 +115,7 @@ swfdec_net_stream_video_goto (SwfdecNetStream *stream, guint timestamp) if (stream->surface) { GList *walk; for (walk = stream->movies; walk; walk = walk->next) { - swfdec_video_movie_new_image (walk->data, stream->surface); + swfdec_video_movie_new_image (walk->data); } } } @@ -350,6 +350,14 @@ swfdec_net_stream_input_disconnect (SwfdecVideoMovieInput *input, SwfdecVideoMov g_object_unref (stream); } +static cairo_surface_t * +swfdec_net_stream_input_get_ima...
2007 Mar 19
0
7 commits - libswfdec/jpeg libswfdec/swfdec_button_movie.c libswfdec/swfdec_js_net_stream.c libswfdec/swfdec_movie.c libswfdec/swfdec_net_stream.c libswfdec/swfdec_video.c player/swfdec_debug_movies.c
...g_assert_not_reached (); } surface = cairo_image_surface_create_for_data (buffer->data, - CAIRO_FORMAT_ARGB32, w, h, w * 4); + CAIRO_FORMAT_RGB24, w, h, w * 4); cairo_surface_set_user_data (surface, &key, buffer, (cairo_destroy_func_t) swfdec_buffer_unref); swfdec_video_movie_new_image (input->movie, surface, w, h);
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
...t;connect) @@ -167,7 +167,7 @@ swfdec_video_movie_clear (SwfdecVideoMovie *movie) cairo_surface_destroy (movie->image); movie->image = NULL; } - swfdec_movie_invalidate (SWFDEC_MOVIE (movie)); + swfdec_movie_invalidate_last (SWFDEC_MOVIE (movie)); } void @@ -180,6 +180,6 @@ swfdec_video_movie_new_image (SwfdecVideoMovie *movie) movie->image = NULL; } movie->needs_update = TRUE; - swfdec_movie_invalidate (SWFDEC_MOVIE (movie)); + swfdec_movie_invalidate_last (SWFDEC_MOVIE (movie)); } commit 6f3ebc54441b16e203ed0da9cbfd98a286634c93 Author: Benjamin Otte <otte at gnome.org&g...