search for: swfdecgtkload

Displaying 13 results from an estimated 13 matches for "swfdecgtkload".

Did you mean: swfdecgtkloader
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
...sgml +++ b/doc/swfdec-docs.sgml @@ -10,6 +10,7 @@ <title>Swfdec Gtk library</title> <xi:include href="xml/SwfdecGtkPlayer.xml"/> <xi:include href="xml/SwfdecGtkWidget.xml"/> + <xi:include href="xml/SwfdecGtkLoader.xml"/> </chapter> <chapter> <title>Swfdec library</title> diff --git a/doc/swfdec-sections.txt b/doc/swfdec-sections.txt index 3d270af..e0454c7 100644 --- a/doc/swfdec-sections.txt +++ b/doc/swfdec-sections.txt...
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
...der); - 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_get_url (url)); gtk->message = soup_message_new (request == SWFDEC_LOADER_REQUEST_POST ? "POST" : "GET", swfdec_u...
2007 Aug 02
1
libswfdec-gtk/swfdec_gtk_loader.c
libswfdec-gtk/swfdec_gtk_loader.c | 1 + 1 files changed, 1 insertion(+) New commits: diff-tree 4d1ee537d4cd388a8b21003496d3511df6f0549d (from ba4f1da69d0c74c45b0b4d92330f2203d258bb49) Author: Benjamin Otte <otte at gnome.org> Date: Thu Aug 2 13:06:55 2007 +0200 keep a reference to the message, since it's unreffed automagically diff --git
2007 Nov 15
0
2 commits - libswfdec-gtk/swfdec_gtk_loader.c player/swfplay.c
...3:24 2007 +0100 set size only once diff --git a/libswfdec-gtk/swfdec_gtk_loader.c b/libswfdec-gtk/swfdec_gtk_loader.c index fb93cf9..92f01f7 100644 --- a/libswfdec-gtk/swfdec_gtk_loader.c +++ b/libswfdec-gtk/swfdec_gtk_loader.c @@ -75,6 +75,22 @@ G_DEFINE_TYPE (SwfdecGtkLoader, swfdec_gtk_loader, SWFDEC_TYPE_FILE_LOADER) #ifdef HAVE_HTTP static void +swfdec_gtk_loader_set_size (SwfdecGtkLoader *gtk) +{ + const char *s = soup_message_get_header (gtk->message->response_headers, "Content-Length"); + unsigned long l; + char *end; + + if (s == NULL)...
2007 Apr 04
0
Branch 'as' - 17 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
...sgml +++ b/doc/swfdec-docs.sgml @@ -10,6 +10,7 @@ <title>Swfdec Gtk library</title> <xi:include href="xml/SwfdecGtkPlayer.xml"/> <xi:include href="xml/SwfdecGtkWidget.xml"/> + <xi:include href="xml/SwfdecGtkLoader.xml"/> </chapter> <chapter> <title>Swfdec library</title> diff --git a/doc/swfdec-sections.txt b/doc/swfdec-sections.txt index 3d270af..e0454c7 100644 --- a/doc/swfdec-sections.txt +++ b/doc/swfdec-sections.txt...
2007 Dec 03
0
libswfdec-gtk/swfdec_gtk_loader.c
...F diff --git a/libswfdec-gtk/swfdec_gtk_loader.c b/libswfdec-gtk/swfdec_gtk_loader.c index 92f01f7..9836e3f 100644 --- a/libswfdec-gtk/swfdec_gtk_loader.c +++ b/libswfdec-gtk/swfdec_gtk_loader.c @@ -183,11 +183,16 @@ swfdec_gtk_loader_close (SwfdecLoader *loader) SwfdecGtkLoader *gtk = SWFDEC_GTK_LOADER (loader); if (gtk->message) { - SwfdecGtkLoaderClass *klass = SWFDEC_GTK_LOADER_GET_CLASS (gtk); + gboolean eof; - soup_session_cancel_message (klass->session, gtk->message); - g_object_unref (gtk->message); - gtk->message = NULL; +...
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
...url (loader)), gnome_vfs_result_to_string (result)); swfdec_loader_error (loader, err); g_free (err); @@ -155,20 +157,6 @@ swfdec_gtk_loader_open_cb (GnomeVFSAsync swfdec_gtk_loader_start_read (gtk); } -static SwfdecLoader * -swfdec_gtk_loader_new_from_uri (GnomeVFSURI *uri) -{ - SwfdecGtkLoader *gtk; - - g_assert (uri); - gtk = g_object_new (SWFDEC_TYPE_GTK_LOADER, NULL); - gtk->guri = uri; - gnome_vfs_async_open_uri (&gtk->handle, uri, GNOME_VFS_OPEN_READ, - GNOME_VFS_PRIORITY_DEFAULT, swfdec_gtk_loader_open_cb, gtk); - SWFDEC_LOADER (gtk)->url = gnome_vfs_uri_t...
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
...7;libswfdec-gtk/swfdec_gtk_loader.c index bc3894a..aff6da1 100644 --- a/libswfdec-gtk/swfdec_gtk_loader.c +++ b/libswfdec-gtk/swfdec_gtk_loader.c @@ -141,6 +141,20 @@ swfdec_gtk_loader_load (SwfdecLoader *lo } static void +swfdec_gtk_loader_close (SwfdecLoader *loader) +{ + SwfdecGtkLoader *gtk = SWFDEC_GTK_LOADER (loader); + + if (gtk->message) { + SwfdecGtkLoaderClass *klass = SWFDEC_GTK_LOADER_GET_CLASS (gtk); + + soup_session_cancel_message (klass->session, gtk->message); + g_object_unref (gtk->message); + gtk->message = NULL; + } +} + +static void...
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
..._strcasecmp (swfdec_url_get_protocol (url), "https") != 0) { - SWFDEC_LOADER_CLASS (swfdec_gtk_loader_parent_class)->load (loader, request, data, data_len); + SWFDEC_LOADER_CLASS (swfdec_gtk_loader_parent_class)->load (loader, parent, request, data, data_len); } else { SwfdecGtkLoader *gtk = SWFDEC_GTK_LOADER (loader); SwfdecGtkLoaderClass *klass = SWFDEC_GTK_LOADER_GET_CLASS (gtk); @@ -179,6 +179,6 @@ swfdec_gtk_loader_new (const char *uri) url = swfdec_url_new (uri); loader = g_object_new (SWFDEC_TYPE_GTK_LOADER, "url", url, NULL); swfdec_url_free (ur...
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
...ent that it's a good idea diff --git a/libswfdec-gtk/swfdec_gtk_loader.c b/libswfdec-gtk/swfdec_gtk_loader.c index f0e8c40..1247a30 100644 --- a/libswfdec-gtk/swfdec_gtk_loader.c +++ b/libswfdec-gtk/swfdec_gtk_loader.c @@ -225,8 +225,9 @@ swfdec_gtk_loader_init (SwfdecGtkLoader * * Creates a new loader for the given URI using gnome-vfs (or using the local * file backend, if compiled without gnome-vfs support). The uri must be valid - * UTF-8. If using gnome-vfs, gnome_vfs_make_uri_from_input() will be called on - * @uri. + * UTF-8. If using gnome-vfs, you might w...
2007 Aug 20
0
Branch 'vivi' - 60 commits - libswfdec-gtk/swfdec_gtk_loader.c libswfdec/Makefile.am libswfdec/swfdec_as_array.c libswfdec/swfdec_as_context.c libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame_internal.h libswfdec/swfdec_as_interpret.c
...tion a signal handler, so we can disconnect it diff --git a/libswfdec-gtk/swfdec_gtk_loader.c b/libswfdec-gtk/swfdec_gtk_loader.c index 65897bc..c98f029 100644 --- a/libswfdec-gtk/swfdec_gtk_loader.c +++ b/libswfdec-gtk/swfdec_gtk_loader.c @@ -68,19 +68,6 @@ struct _SwfdecGtkLoaderClass { G_DEFINE_TYPE (SwfdecGtkLoader, swfdec_gtk_loader, SWFDEC_TYPE_FILE_LOADER) static void -swfdec_gtk_loader_dispose (GObject *object) -{ - SwfdecGtkLoader *gtk = SWFDEC_GTK_LOADER (object); - - if (gtk->message) { - g_object_unref (gtk->message); - gtk->message = NULL;...
2008 Jun 15
1
14 commits - configure.ac swfdec/.gitignore swfdec-gtk/swfdec_gtk_loader.c swfdec-gtk/swfdec_playback_alsa.c swfdec/Makefile.am swfdec/swfdec_asnative.h swfdec/swfdec_as_string.c swfdec/swfdec_audio.c swfdec/swfdec_audio_load.c swfdec/swfdec_audio_load.h
...amp;& !swfdec_url_has_protocol (url, "https")) { SWFDEC_LOADER_CLASS (swfdec_gtk_loader_parent_class)->load (loader, player, - url_string, buffer, header_count, header_names, header_values); + url_string, buffer, n_headers, header_names, header_values); } else { SwfdecGtkLoader *gtk = SWFDEC_GTK_LOADER (loader); SwfdecGtkLoaderClass *klass = SWFDEC_GTK_LOADER_GET_CLASS (gtk); @@ -161,7 +161,7 @@ swfdec_gtk_loader_load (SwfdecLoader *loader, SwfdecPlayer *player, swfdec_url_get_url (url)); soup_message_set_flags (gtk->message, SOUP_MESSAGE_OVERWRITE_CHUNKS...
2008 Jan 21
0
70 commits - configure.ac libswfdec-gtk/Makefile.am libswfdec-gtk/swfdec-gtk.h libswfdec-gtk/swfdec_gtk_loader.c libswfdec-gtk/swfdec_gtk_player.c libswfdec-gtk/swfdec_gtk_socket.c libswfdec-gtk/swfdec_gtk_socket.h libswfdec-gtk/swfdec_playback_alsa.c
..._strcasecmp (swfdec_url_get_protocol (url), "https") != 0) { - SWFDEC_LOADER_CLASS (swfdec_gtk_loader_parent_class)->load (loader, parent, request, data, data_len); + SWFDEC_LOADER_CLASS (swfdec_gtk_loader_parent_class)->load (loader, parent, request, buffer); } else { SwfdecGtkLoader *gtk = SWFDEC_GTK_LOADER (loader); SwfdecGtkLoaderClass *klass = SWFDEC_GTK_LOADER_GET_CLASS (gtk); @@ -157,9 +157,9 @@ swfdec_gtk_loader_load (SwfdecLoader *loader, SwfdecLoader *parent, soup_message_set_flags (gtk->message, SOUP_MESSAGE_OVERWRITE_CHUNKS); g_signal_connect (gtk...