search for: mc_width_set

Displaying 8 results from an estimated 8 matches for "mc_width_set".

2007 Nov 09
1
segmentation fault when no decoder found
..., to reproduce play the main movie on this page http://www.mymovies.it/trailer/?id=46437 SWFDEC: ERROR: swfdec_resource_request.c(66): swfdec_player_request_resource_now: not allowing access to http://trailer.mymovies.it/filmclub/2007/07/113/trailer.flv SWFDEC: WARN : swfdec_movie_asprops.c(241): mc_width_set: trying to set width to a non-finite value, ignoring SWFDEC: ERROR: swfdec_loader.c(333): swfdec_loader_error: error in loader 0xb58db40: Network error Loading stream: http://www.mymovies.it/video/logo.png SWFDEC: ERROR: swfdec_resource.c(247): swfdec_resource_loader_target_parse: no decoder found...
2008 Oct 14
1
[Bug 18061] New: stackoverflow.com podcast player not working
...Priority: medium Component: library AssignedTo: swfdec at lists.freedesktop.org ReportedBy: riccardo at datahost.it QAContact: swfdec at lists.freedesktop.org Summary says it all, that's the relevant messages: SWFDEC: WARN : swfdec_movie_asprops.c(213): mc_width_set: trying to set width to a non-finite value, ignoring Loading stream: http://cdn.conversationsnetwork.org/ITC.SO-Episode25-2008.10.07.mp3 SWFDEC: FIXME: swfdec_load_sound.c(128): swfdec_load_sound_mp3_parse_id3v2: implement ID3v2 parsing -- Configure bugmail: http://bugs.freedesktop.org/userprefs...
2007 Mar 21
0
4 commits - libswfdec/swfdec_js_movie.c libswfdec/swfdec_script.c player/swfdec_slow_loader.c
...0, 0 }, + { "getDepth", swfdec_js_getDepth, 0, 0, 0 }, { "getNextHighestDepth", mc_getNextHighestDepth, 0, 0, 0 }, { "getProperty", swfdec_js_getProperty, 2, 0, 0 }, { "getURL", swfdec_js_getURL, 2, 0, 0 }, @@ -970,9 +984,9 @@ mc_width_set (JSContext *cx, JSObject *o } swfdec_movie_update (movie); movie->modified = TRUE; - cur = SWFDEC_TWIPS_TO_DOUBLE ((SwfdecTwips) (rint (movie->extents.x1 - movie->extents.x0))); + cur = SWFDEC_TWIPS_TO_DOUBLE ((SwfdecTwips) (rint (movie->original_extents.x1 - movie->origin...
2007 Jun 27
0
Branch 'as' - 6 commits - libswfdec/swfdec_as_interpret.c libswfdec/swfdec_movie_asprops.c libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_sprite.c libswfdec/swfdec_sprite.h libswfdec/swfdec_sprite_movie_as.c
...t }, - { SWFDEC_AS_STR__currentframe,mc_currentframe, NULL }, - { SWFDEC_AS_STR__totalframes, mc_totalframes, NULL }, - { SWFDEC_AS_STR__alpha, mc_alpha_get, mc_alpha_set }, - { SWFDEC_AS_STR__visible, mc_visible_get, mc_visible_set }, - { SWFDEC_AS_STR__width, mc_width_get, mc_width_set }, - { SWFDEC_AS_STR__height, mc_height_get, mc_height_set }, - { SWFDEC_AS_STR__rotation, mc_rotation_get, mc_rotation_set }, - { SWFDEC_AS_STR__target, NULL, NULL }, //"_target" - { SWFDEC_AS_STR__framesloaded,mc_framesloaded, NULL}, - { SWFDEC_AS_STR__name, mc_name_get,...
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
...dec_movie_update (movie); - d = SWFDEC_TWIPS_TO_DOUBLE ((SwfdecTwips) (rint (movie->extents.x1 - movie->extents.x0))); + d = rint (movie->extents.x1 - movie->extents.x0); + d = SWFDEC_TWIPS_TO_DOUBLE ((SwfdecTwips) d); SWFDEC_AS_VALUE_SET_NUMBER (rval, d); } @@ -236,7 +237,8 @@ mc_width_set (SwfdecMovie *movie, const } swfdec_movie_update (movie); movie->modified = TRUE; - cur = SWFDEC_TWIPS_TO_DOUBLE ((SwfdecTwips) (rint (movie->original_extents.x1 - movie->original_extents.x0))); + cur = rint (movie->original_extents.x1 - movie->original_extents.x0); + cu...
2007 Mar 22
0
7 commits - configure.ac doc/swfdec-docs.sgml libswfdec/js libswfdec/swfdec_buffer.c libswfdec/swfdec_buffer.h libswfdec/swfdec_js_movie.c test/trace
...able_from_object (cx, obj, SWFDEC_TYPE_MOVIE); + if (movie == NULL) { + SWFDEC_WARNING ("not a movie"); + return JS_TRUE; + } swfdec_movie_update (movie); d = SWFDEC_TWIPS_TO_DOUBLE ((SwfdecTwips) (rint (movie->extents.x1 - movie->extents.x0))); @@ -970,8 +1078,11 @@ mc_width_set (JSContext *cx, JSObject *o SwfdecMovie *movie; double d, cur; - movie = JS_GetPrivate (cx, obj); - g_assert (movie); + movie = swfdec_scriptable_from_object (cx, obj, SWFDEC_TYPE_MOVIE); + if (movie == NULL) { + SWFDEC_WARNING ("not a movie"); + return JS_TRUE; + }...
2007 Feb 16
0
11 commits - libswfdec/swfdec_font.c libswfdec/swfdec_font.h libswfdec/swfdec_js_movie.c libswfdec/swfdec_script.c libswfdec/swfdec_script.h test/.gitignore test/trace
...ovie); swfdec_movie_update (movie); - d = SWFDEC_TWIPS_TO_DOUBLE ((SwfdecTwips) (movie->extents.x1 - movie->extents.x0)); + d = SWFDEC_TWIPS_TO_DOUBLE ((SwfdecTwips) (rint (movie->extents.x1 - movie->extents.x0))); return JS_NewNumberValue (cx, d, vp); } @@ -842,7 +842,7 @@ mc_width_set (JSContext *cx, JSObject *o } swfdec_movie_update (movie); movie->modified = TRUE; - cur = SWFDEC_TWIPS_TO_DOUBLE ((SwfdecTwips) (movie->extents.x1 - movie->extents.x0)); + cur = SWFDEC_TWIPS_TO_DOUBLE ((SwfdecTwips) (rint (movie->extents.x1 - movie->extents.x0))); if (...
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
...(SwfdecMovie *movie, const SwfdecAsValue *val) b = swfdec_as_value_to_boolean (SWFDEC_AS_OBJECT (movie)->context, val); if (b != movie->visible) { movie->visible = b; - swfdec_movie_invalidate (movie); + swfdec_movie_invalidate_last (movie); } } @@ -249,12 +249,13 @@ mc_width_set (SwfdecMovie *movie, const SwfdecAsValue *val) d = 100 * d / cur; if (d == movie->xscale) return; + swfdec_movie_queue_update (movie, SWFDEC_MOVIE_INVALID_MATRIX); movie->xscale = d; } else { + swfdec_movie_queue_update (movie, SWFDEC_MOVIE_INVALID_MATRIX);...