search for: swfdec_loader_data_flv

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

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
...string + * if the type has no extension + **/ +const char * +swfdec_loader_data_type_get_extension (SwfdecLoaderDataType type) +{ + switch (type) { + case SWFDEC_LOADER_DATA_UNKNOWN: + return ""; + case SWFDEC_LOADER_DATA_SWF: + return "swf"; + case SWFDEC_LOADER_DATA_FLV: + return "flv"; + case SWFDEC_LOADER_DATA_XML: + return "xml"; + case SWFDEC_LOADER_DATA_TEXT: + return "txt"; + default: + g_warning ("unknown data type %u", type); + return ""; + } +} + +/*** X-WWW-FORM-URLENCOD...
2007 Nov 12
0
13 commits - libswfdec/Makefile.am libswfdec/swfdec_decoder.c libswfdec/swfdec_decoder.h libswfdec/swfdec_flv_decoder.c libswfdec/swfdec_flv_decoder.h libswfdec/swfdec_image.c libswfdec/swfdec_image_decoder.c libswfdec/swfdec_image_decoder.h
...SwfdecDecoderClass decoder_class; +}; + +GType swfdec_image_decoder_get_type (void); + + +G_END_DECLS + +#endif diff --git a/libswfdec/swfdec_loader.c b/libswfdec/swfdec_loader.c index 618b9d7..7595c4e 100644 --- a/libswfdec/swfdec_loader.c +++ b/libswfdec/swfdec_loader.c @@ -62,6 +62,8 @@ * @SWFDEC_LOADER_DATA_FLV: Data describing a Flash video stream. * @SWFDEC_LOADER_DATA_XML: Data in XML format. * @SWFDEC_LOADER_DATA_TEXT: Textual data. + * @SWFDEC_LOADER_DATA_JPEG: a JPEG image + * @SWFDEC_LOADER_DATA_PNG: a PNG image * * This type describes the different types of data that can be loaded inside...
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
...swfdec_loader.c @@ -54,6 +54,21 @@ * subclass to provide your input. */ +/** + * SwfdecLoaderDataType: + * @SWFDEC_LOADER_DATA_UNKNOWN: Unidentified data or data that cannot be + * identified. + * @SWFDEC_LOADER_DATA_SWF: Data describing a normal Flash file. + * @SWFDEC_LOADER_DATA_FLV: Data describing a Flash video stream. + * @SWFDEC_LOADER_DATA_XML: Data in XML format. + * @SWFDEC_LOADER_DATA_TEXT: Textual data. + * + * This type describes the different types of data that can be loaded inside + * Swfdec. Swfdec identifies its data streams and you can use the + * swfdec_loade...
2007 Nov 07
0
7 commits - doc/swfdec-sections.txt libswfdec-gtk/swfdec_gtk_widget.c libswfdec/swfdec_as_strings.c libswfdec/swfdec_decoder.c libswfdec/swfdec_flv_decoder.c libswfdec/swfdec_movie_asprops.c libswfdec/swfdec_net_stream.c libswfdec/swfdec_player.c
.../* nothing to do, please move along */ } else { g_assert_not_reached (); } @@ -174,10 +171,7 @@ swfdec_resource_loader_target_parse (SwfdecLoaderTarget *target, SwfdecLoader *l return; } - if (SWFDEC_IS_FLV_DECODER (dec)) { - swfdec_loader_set_data_type (loader, SWFDEC_LOADER_DATA_FLV); - swfdec_flv_decoder_add_movie (SWFDEC_FLV_DECODER (dec), SWFDEC_MOVIE (instance->movie)); - } else if (SWFDEC_IS_SWF_DECODER (dec)) { + if (SWFDEC_IS_SWF_DECODER (dec)) { swfdec_loader_set_data_type (loader, SWFDEC_LOADER_DATA_SWF); instance->decoder = dec; }...
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
...return; + dec = swfdec_decoder_new (player, loader->queue); + if (dec == NULL) { + SWFDEC_ERROR ("no decoder found"); + swfdec_loader_set_target (loader, NULL); + return; + } + + if (SWFDEC_IS_FLV_DECODER (dec)) { + swfdec_loader_set_data_type (loader, SWFDEC_LOADER_DATA_FLV); + swfdec_flv_decoder_add_movie (SWFDEC_FLV_DECODER (dec), SWFDEC_MOVIE (instance->movie)); + } else if (SWFDEC_IS_SWF_DECODER (dec)) { + swfdec_loader_set_data_type (loader, SWFDEC_LOADER_DATA_SWF); + instance->decoder = dec; + } else { + SWFDEC_FIXME ("implem...
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
...CODER (stream->flvdecoder)->queue = loader->queue; - swfdec_net_stream_onstatus (stream, "NetStream.Play.Start", "status"); + swfdec_net_stream_onstatus (stream, SWFDEC_AS_STR_NETSTREAM_PLAY_START, + SWFDEC_AS_STR_STATUS); swfdec_loader_set_data_type (loader, SWFDEC_LOADER_DATA_FLV); } klass = SWFDEC_DECODER_GET_CLASS (stream->flvdecoder); @@ -267,12 +259,14 @@ out: guint first, last; swfdec_flv_decoder_eof (stream->flvdecoder); recheck = TRUE; - swfdec_net_stream_onstatus (stream, "NetStream.Buffer.Flush", "status"); + swf...
2007 Nov 07
0
36 commits - doc/swfdec-sections.txt libswfdec/Makefile.am libswfdec/swfdec_amf.c libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_object.h libswfdec/swfdec_as_strings.c libswfdec/swfdec_buffer.c libswfdec/swfdec_buffer.h
...t;flvdecoder)->player = SWFDEC_PLAYER (SWFDEC_AS_OBJECT (stream)->context); - SWFDEC_DECODER (stream->flvdecoder)->queue = loader->queue; swfdec_net_stream_onstatus (stream, SWFDEC_AS_STR_NetStream_Play_Start, SWFDEC_AS_STR_status); swfdec_loader_set_data_type (loader, SWFDEC_LOADER_DATA_FLV); @@ -279,31 +278,19 @@ swfdec_net_stream_loader_target_parse (SwfdecLoaderTarget *target, klass = SWFDEC_DECODER_GET_CLASS (stream->flvdecoder); g_return_if_fail (klass->parse); - while (TRUE) { - SwfdecStatus status = klass->parse (SWFDEC_DECODER (stream->flvdecoder)); -...
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
...SWFDEC_AS_OBJECT (stream)->context); + SWFDEC_DECODER (ns->flvdecoder)->player = SWFDEC_PLAYER (SWFDEC_AS_OBJECT (ns)->context); swfdec_net_stream_onstatus (ns, SWFDEC_AS_STR_NetStream_Play_Start, SWFDEC_AS_STR_status); swfdec_loader_set_data_type (SWFDEC_LOADER (stream), SWFDEC_LOADER_DATA_FLV); commit b17a272be5f83ec675cd97d91055bda26f890281 Author: Benjamin Otte <otte at gnome.org> Date: Sun Jan 6 00:42:28 2008 +0100 add a socket implementation using libsoup diff --git a/libswfdec-gtk/Makefile.am b/libswfdec-gtk/Makefile.am index c3c140f..b94616c 100644 --- a/libswfdec-gt...