search for: swfdec_loader_error

Displaying 20 results from an estimated 28 matches for "swfdec_loader_error".

2007 Mar 01
0
11 commits - libswfdec/Makefile.am libswfdec/swfdec_connection.c libswfdec/swfdec_connection.h libswfdec/swfdec_flv_decoder.c libswfdec/swfdec_js.c libswfdec/swfdec_js_connection.c libswfdec/swfdec_js.h libswfdec/swfdec_js_net_stream.c
...2007 +0100 call the parse function after an error This gets around the need to connect to notify::error diff --git a/libswfdec/swfdec_loader.c b/libswfdec/swfdec_loader.c index 828852a..32d0ca4 100644 --- a/libswfdec/swfdec_loader.c +++ b/libswfdec/swfdec_loader.c @@ -319,6 +319,7 @@ swfdec_loader_error_locked (SwfdecLoader SWFDEC_ERROR ("error in loader %p: %s", loader, error); loader->error = g_strdup (error); g_object_notify (G_OBJECT (loader), "error"); + swfdec_loader_target_parse (loader->target, loader); } void diff --git a/libswfdec/swfdec_loadertarg...
2007 Aug 02
0
15 commits - configure.ac doc/swfdec-sections.txt libswfdec-gtk/Makefile.am libswfdec-gtk/swfdec_gtk_loader.c libswfdec/Makefile.am libswfdec/swfdec_as_object.c libswfdec/swfdec_as_object.h libswfdec/swfdec_file_loader.c libswfdec/swfdec_file_loader.h
...109,8 @@ swfdec_gtk_loader_finish (SoupMessage *m { if (SOUP_STATUS_IS_SUCCESSFUL (msg->status_code)) { swfdec_gtk_loader_ensure_open (loader); - g_print ("eof\n"); swfdec_loader_eof (loader); } else { - g_print ("error %u\n", msg->status_code); swfdec_loader_error (loader, "FIXME: make useful error message"); } } @@ -133,7 +128,6 @@ swfdec_gtk_loader_load (SwfdecLoader *lo SwfdecGtkLoader *gtk = SWFDEC_GTK_LOADER (loader); SwfdecGtkLoaderClass *klass = SWFDEC_GTK_LOADER_GET_CLASS (gtk); - g_print ("new %s\n", swfdec_url...
2007 Mar 20
0
5 commits - configure.ac doc/Makefile.am doc/swfdec-sections.txt libswfdec/swfdec_js_net_stream.c libswfdec/swfdec_loader.c libswfdec/swfdec_loader.h libswfdec/swfdec_net_stream.c
...ader_get_loaded to query the already loaded amount of bytes diff --git a/doc/swfdec-sections.txt b/doc/swfdec-sections.txt index 26a98ab..f8a4514 100644 --- a/doc/swfdec-sections.txt +++ b/doc/swfdec-sections.txt @@ -22,8 +22,9 @@ swfdec_loader_new_from_file swfdec_loader_push swfdec_loader_eof swfdec_loader_error -swfdec_loader_get_size swfdec_loader_set_size +swfdec_loader_get_size +swfdec_loader_get_loaded swfdec_loader_get_filename swfdec_loader_get_data_type <SUBSECTION Standard> diff --git a/libswfdec/swfdec_loader.c b/libswfdec/swfdec_loader.c index 1fd0e65..69c460f 100644 --- a/libswfdec/sw...
2007 Jul 31
0
10 commits - doc/swfdec-docs.sgml doc/swfdec-sections.txt libswfdec-gtk/swfdec_gtk_loader.c libswfdec/Makefile.am libswfdec/swfdec_as_context.c libswfdec/swfdec_as_frame.c libswfdec/swfdec_buffer.c libswfdec/swfdec_debugger.c libswfdec/swfdec.h
...tk->handle = NULL; return; } else if (result != GNOME_VFS_OK) { - char *err = g_strdup_printf ("%s: %s", loader->url, + char *err = g_strdup_printf ("%s: %s", + swfdec_url_get_url (swfdec_loader_get_url (loader)), gnome_vfs_result_to_string (result)); swfdec_loader_error (loader, err); g_free (err); @@ -144,7 +145,8 @@ swfdec_gtk_loader_open_cb (GnomeVFSAsync SwfdecLoader *loader = loaderp; if (result != GNOME_VFS_OK) { - char *err = g_strdup_printf ("%s: %s", loader->url, + char *err = g_strdup_printf ("%s: %s", + swfdec_u...
2008 Jan 25
0
How to load YouTube video swf in swfdec
...iables=video_id=ysIb89ETWWA&l=118&sk=hBFXQnDzm7k-X1HlXyntXgC&t=OEgsToPDskJIhF_zi-mo5Arya-uyXSOj&hl=en&plid=AAREkSUfMLn11hxiAAAAIAAYAAA&playnext=0 However, I end up getting error like this and no video was played. Only a spinning circle: SWFDEC: ERROR: swfdec_loader.c(335): swfdec_loader_error: error in loader 0x8537700: Failed to open file '/home/yinglcs/.mozilla/firefox/qo5lo6tu.work/ScrapBook/data/20080125134205//get_video': No such file or directory SWFDEC: ERROR: swfdec_loader.c(335): swfdec_loader_error: error in loader 0x8920b80: Failed to open file '/home/yinglcs/.moz...
2007 Nov 09
1
segmentation fault when no decoder found
...R: 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 Program received signal SIGSEGV, Segmentation fault. ---Type <return> to continue, or q <return>...
2007 Apr 03
0
11 commits - libswfdec-gtk/swfdec_gtk_loader.c libswfdec-gtk/swfdec_playback_alsa.c libswfdec-gtk/swfdec_source.c libswfdec/swfdec_cached.c libswfdec/swfdec_font.c libswfdec/swfdec_morphshape.c libswfdec/swfdec_net_stream.c libswfdec/swfdec_script.c
...der.c b/libswfdec-gtk/swfdec_gtk_loader.c index 643fb3e..4b1e57f 100644 --- a/libswfdec-gtk/swfdec_gtk_loader.c +++ b/libswfdec-gtk/swfdec_gtk_loader.c @@ -105,7 +105,10 @@ swfdec_gtk_loader_read_cb (GnomeVFSAsync gtk->handle = NULL; return; } else if (result != GNOME_VFS_OK) { - swfdec_loader_error (loader, gnome_vfs_result_to_string (result)); + char *err = g_strdup_printf ("%s: %s", loader->url, + gnome_vfs_result_to_string (result)); + swfdec_loader_error (loader, err); + g_free (err); swfdec_buffer_unref (gtk->current_buffer); gtk->current_buffer = NU...
2007 Aug 02
0
4 commits - libswfdec-gtk/swfdec_gtk_loader.c libswfdec/swfdec_file_loader.c libswfdec/swfdec_loader.c libswfdec/swfdec_loader.h player/swfdec_slow_loader.c
...c_file_loader.c index 54308c8..1eb29fc 100644 --- a/libswfdec/swfdec_file_loader.c +++ b/libswfdec/swfdec_file_loader.c @@ -49,7 +49,7 @@ swfdec_file_loader_load (SwfdecLoader *l url = swfdec_loader_get_url (loader); if (!g_str_equal (swfdec_url_get_protocol (url), "file")) { - swfdec_loader_error (loader, "Don't know how to handle other protocols than file"); + swfdec_loader_error (loader, "Don't know how to handle this protocol"); return; } if (swfdec_url_get_host (url)) { @@ -99,27 +99,28 @@ swfdec_file_loader_new (const char *file SwfdecBuffer...
2007 Aug 01
0
9 commits - doc/swfdec-sections.txt libswfdec/swfdec_as_frame.c libswfdec/swfdec_loader.c libswfdec/swfdec_loader.h libswfdec/swfdec_loader_internal.h libswfdec/swfdec_loadertarget.c libswfdec/swfdec_loadertarget.h libswfdec/swfdec_movie.c
...doc/swfdec-sections.txt index ccb76d4..a250b3a 100644 --- a/doc/swfdec-sections.txt +++ b/doc/swfdec-sections.txt @@ -19,9 +19,11 @@ SWFDEC_AUDIO_GET_CLASS <TITLE>SwfdecLoader</TITLE> SwfdecLoader swfdec_loader_new_from_file +swfdec_loader_open swfdec_loader_push swfdec_loader_eof swfdec_loader_error +swfdec_loader_get_url swfdec_loader_set_size swfdec_loader_get_size swfdec_loader_get_loaded @@ -52,6 +54,7 @@ swfdec_url_get_url swfdec_url_new swfdec_url_new_relative <SUBSECTION Standard> +SWFDEC_TYPE_URL swfdec_url_get_type </SECTION> @@ -116,7 +119,9 @@ swfdec_buffer_que...
2007 Dec 15
3
[Bug 13670] New: make mymovies.it trailer.swf work
...freedesktop.org ReportedBy: riccardo at datahost.it QAContact: swfdec at lists.freedesktop.org with git fe10412fcc1698adf61b19fdf55fc25be7248651 this player cannot load the video: Loading stream: http://www.mymovies.it/video/trailer.swf [...] SWFDEC: ERROR: swfdec_loader.c(335): swfdec_loader_error: error in loader 0xa957060: Network error SWFDEC: ERROR: swfdec_resource_request.c(75): swfdec_player_request_resource_allow_callback: not allowing access to http://trailer.mymovies.it/filmclub/2007/02/037/trailer.flv -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ----...
2008 Jan 02
4
[Bug 13898] New: CollegeHumor Videos not loading
http://bugs.freedesktop.org/show_bug.cgi?id=13898 Summary: CollegeHumor Videos not loading Product: swfdec Version: 0.5.5 Platform: Other OS/Version: Linux (All) Status: NEW Severity: enhancement Priority: medium Component: library AssignedTo: swfdec at lists.freedesktop.org ReportedBy:
2007 Mar 21
0
4 commits - libswfdec/swfdec_js_movie.c libswfdec/swfdec_script.c player/swfdec_slow_loader.c
...w_loader_notify_cb, slow); g_object_unref (slow->loader); if (slow->timeout_id) { g_source_remove (slow->timeout_id); @@ -96,7 +105,11 @@ swfdec_slow_loader_tick (gpointer data) return TRUE; } - if (slow->loader->eof) { + if (slow->loader->error) { + swfdec_loader_error (SWFDEC_LOADER (slow), slow->loader->error); + slow->timeout_id = 0; + return FALSE; + } else if (slow->loader->eof) { swfdec_loader_eof (SWFDEC_LOADER (slow)); slow->timeout_id = 0; return FALSE; @@ -109,6 +122,7 @@ SwfdecLoader * swfdec_slow_loader_new (Sw...
2007 Apr 02
0
4 commits - configure.ac doc/Makefile.am doc/swfdec-docs.sgml doc/swfdec-sections.txt doc/swfdec.types libswfdec-gtk/Makefile.am libswfdec-gtk/swfdec-gtk.h libswfdec-gtk/swfdec_gtk_loader.c libswfdec-gtk/swfdec_gtk_loader.h
...derp; + + if (result == GNOME_VFS_ERROR_EOF) { + swfdec_loader_eof (loader); + swfdec_buffer_unref (gtk->current_buffer); + gtk->current_buffer = NULL; + gnome_vfs_async_cancel (gtk->handle); + gtk->handle = NULL; + return; + } else if (result != GNOME_VFS_OK) { + swfdec_loader_error (loader, gnome_vfs_result_to_string (result)); + swfdec_buffer_unref (gtk->current_buffer); + gtk->current_buffer = NULL; + gnome_vfs_async_cancel (gtk->handle); + gtk->handle = NULL; + return; + } + if (bytes_read) { + gtk->current_buffer->length = bytes_read;...
2008 Jan 21
1
70 commits
Hey, In case someone filters commit mails or doesn't read 1MB blobs, I've just merged the result of me getting annoyed at various stuff. Unfortunately, this grew a bit out of hand and ended up being very huge. I expect this merge to have broken lots of things, so if you find stuff that used to work and now doesn't work (or even crashes), please poke me about it. What does this patch
2007 Mar 16
0
5 commits - doc/Makefile.am doc/swfdec-docs.sgml doc/swfdec-sections.txt libswfdec/swfdec_loader.c libswfdec/swfdec_player.c
...c/swfdec-sections.txt +++ b/doc/swfdec-sections.txt @@ -4,6 +4,7 @@ SwfdecAudio swfdec_audio_render <SUBSECTION Standard> +SwfdecAudioClass SWFDEC_AUDIO SWFDEC_IS_AUDIO SWFDEC_TYPE_AUDIO @@ -20,8 +21,11 @@ SwfdecLoader swfdec_loader_new_from_file swfdec_loader_push swfdec_loader_eof +swfdec_loader_error swfdec_loader_get_filename +swfdec_loader_get_data_type <SUBSECTION Standard> +SwfdecLoaderClass SWFDEC_LOADER SWFDEC_IS_LOADER SWFDEC_TYPE_LOADER @@ -34,7 +38,6 @@ SWFDEC_LOADER_GET_CLASS <SECTION> <FILE>SwfdecPlayer</FILE> <TITLE>SwfdecPlayer</TITLE> -S...
2007 Mar 16
0
libswfdec/swfdec_loader.c libswfdec/swfdec_loader.h libswfdec/swfdec_loader_internal.h libswfdec/swfdec_net_stream.c libswfdec/swfdec_root_movie.c libswfdec/swfdec_xml.c
...fied about loading progress */ SwfdecBufferQueue * queue; /* SwfdecBufferQueue managing the input buffers */ + SwfdecLoaderDataType data_type; /* type this stream is in (identified by swfdec) */ }; struct _SwfdecLoaderClass @@ -68,6 +76,11 @@ void swfdec_loader_eof (SwfdecLoader * void swfdec_loader_error (SwfdecLoader * loader, const char * error); char * swfdec_loader_get_filename (SwfdecLoader * loader); +SwfdecLoaderDataType + swfdec_loader_get_data_type (SwfdecLoader * loader); + +const char * swfdec_loader_data_type_get_extension + (SwfdecLoaderDataType type);...
2007 Aug 08
0
6 commits - libswfdec-gtk/swfdec_gtk_loader.c libswfdec/swfdec_as_strings.c libswfdec/swfdec_loader.c libswfdec/swfdec_loader.h libswfdec/swfdec_loader_internal.h libswfdec/swfdec_net_stream_as.c libswfdec/swfdec_net_stream.c
...enjamin Otte <otte at gnome.org> Date: Wed Aug 8 10:51:37 2007 +0200 print error message on loader error diff --git a/libswfdec/swfdec_loader.c b/libswfdec/swfdec_loader.c index bb210fd..85ff5fd 100644 --- a/libswfdec/swfdec_loader.c +++ b/libswfdec/swfdec_loader.c @@ -338,6 +338,7 @@ swfdec_loader_error (SwfdecLoader *loade return; } + SWFDEC_ERROR ("error in loader %p: %s", loader, error); loader->state = SWFDEC_LOADER_STATE_ERROR; loader->error = g_strdup (error); if (loader->target) diff-tree 019799d4d5320fd23cfb18e11d9c85c5c553fe8e (from efc9ce9124f28dfad...
2007 Dec 25
5
[Bug 13815] New: Wrong url for http get
...terworldbooks.com/Flash/output.swf SWFDEC: FIXME: swfdec_pattern.c(331): swfdec_pattern_do_parse: CAIRO_EXTEND_PAD is not yet implemented SWFDEC: WARN : swfdec_as_interpret.c(920): swfdec_action_call_method: no function named "Cancel" on object unknown SWFDEC: ERROR: swfdec_loader.c(335): swfdec_loader_error: error in loader 0x83fd458: 404 Not Found I sniffed the traffic with ethereal on both a machine with the adobe flash player and mine with swfdec and see a difference in the requested url: adobe ------ No. Time Source Destination Protocol Info 46 75.912082...
2007 Nov 01
3
[Bug 13051] New: CNN Cartoon Clicks are not responsive to mouse events
...ve on object unknown SWFDEC: WARN : swfdec_as_interpret.c(922): swfdec_action_call_method: no function named setEnabled on object SwfdecSpriteMovie SWFDEC: WARN : swfdec_as_interpret.c(922): swfdec_action_call_method: no function named isActive on object unknown SWFDEC: ERROR: swfdec_loader.c(342): swfdec_loader_error: error in loader 0xc57cb0: Failed to open file '/home/proski/tmp/swf//POLLSERVER/results/xml/34965.xml': No such file or directory (lt-swfplay:4299): Swfdec-CRITICAL **: swfdec_loader_set_size: assertion `size <= G_MAXLONG' failed SWFDEC: ERROR: swfdec_loader.c(342): swfdec_loader_e...
2007 Mar 14
0
10 commits - libswfdec/swfdec_flv_decoder.c libswfdec/swfdec_flv_decoder.h libswfdec/swfdec_js_global.c libswfdec/swfdec_js_movie.c libswfdec/swfdec_js_net_stream.c libswfdec/swfdec_loader.c libswfdec/swfdec_loader.h libswfdec/swfdec_loadertarget.c
...rent parse functions in different targets. diff --git a/libswfdec/swfdec_loadertarget.c b/libswfdec/swfdec_loadertarget.c index 3212fc8..40ad26f 100644 --- a/libswfdec/swfdec_loadertarget.c +++ b/libswfdec/swfdec_loadertarget.c @@ -97,7 +97,11 @@ swfdec_loader_target_parse_default (Swfd swfdec_loader_error_locked (loader, "Internal error"); return; } - target = loader->target; + /* HACK for flv playback */ + if (target != loader->target) { + swfdec_loader_target_parse (loader->target, loader); + return; + } } klass = SWFDEC_DECODER_GET_CLASS...