Displaying 5 results from an estimated 5 matches for "swfdecconnect".
Did you mean:
swfdecconnec
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
...rtyStub, JS_PropertyStub,
+ JS_EnumerateStub, JS_ResolveStub, JS_ConvertStub, swfdec_js_net_stream_finalize,
+ JSCLASS_NO_OPTIONAL_MEMBERS
+};
+
+static JSBool
+swfdec_js_net_stream_new (JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval)
+{
+ SwfdecNetStream *stream;
+ SwfdecConnection *conn;
+
+ conn = swfdec_scriptable_from_jsval (cx, argv[0], SWFDEC_TYPE_CONNECTION);
+ if (conn == NULL) {
+ SWFDEC_WARNING ("no connection passed to NetStream ()");
+ *rval = JSVAL_VOID;
+ return JS_TRUE;
+ }
+ stream = swfdec_net_stream_new (JS_GetContextPrivate (cx),...
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
...onnection.c
@@ -23,13 +23,13 @@
#include <string.h>
#include "swfdec_connection.h"
+#include "swfdec_as_context.h"
+#include "swfdec_as_object.h"
#include "swfdec_debug.h"
-#include "js/jsapi.h"
-#include "js/jsinterp.h"
/*** SwfdecConnection ***/
-G_DEFINE_TYPE (SwfdecConnection, swfdec_connection, SWFDEC_TYPE_SCRIPTABLE)
+G_DEFINE_TYPE (SwfdecConnection, swfdec_connection, SWFDEC_TYPE_AS_OBJECT)
static void
swfdec_connection_dispose (GObject *object)
@@ -42,16 +42,12 @@ swfdec_connection_dispose (GObject *obje
G_OBJECT_CLA...
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
...oder *flv)
flv->state = SWFDEC_STATE_EOF;
}
-SwfdecMovie *
-swfdec_flv_decoder_add_movie (SwfdecFlvDecoder *flv, SwfdecMovie *parent)
-{
- //g_assert_not_reached ();
- return NULL;
-#if 0
- SwfdecContent *content = swfdec_content_new (0);
- SwfdecMovie *movie;
- SwfdecVideo *video;
- SwfdecConnection *conn;
- SwfdecNetStream *stream;
-
- /* set up the video movie */
- video = g_object_new (SWFDEC_TYPE_VIDEO, NULL);
- video->width = G_MAXUINT;
- video->height = G_MAXUINT;
- content->graphic = SWFDEC_GRAPHIC (video);
- content->free = TRUE;
- movie = swfdec_movie_new (paren...
2007 Jun 21
0
Branch 'as' - 5 commits - libswfdec/Makefile.am libswfdec/swfdec_as_strings.c libswfdec/swfdec_js_net_stream.c libswfdec/swfdec_movie.c libswfdec/swfdec_net_connection.c libswfdec/swfdec_net_stream_as.c libswfdec/swfdec_net_stream.c
...rtyStub, JS_PropertyStub,
- JS_EnumerateStub, JS_ResolveStub, JS_ConvertStub, swfdec_js_net_stream_finalize,
- JSCLASS_NO_OPTIONAL_MEMBERS
-};
-
-static JSBool
-swfdec_js_net_stream_new (JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval)
-{
- SwfdecNetStream *stream;
- SwfdecConnection *conn;
-
- conn = swfdec_scriptable_from_jsval (cx, argv[0], SWFDEC_TYPE_CONNECTION);
- if (conn == NULL) {
- SWFDEC_WARNING ("no connection passed to NetStream ()");
- *rval = JSVAL_VOID;
- return JS_TRUE;
- }
- stream = swfdec_net_stream_new (JS_GetContextPrivate (cx),...
2007 Apr 12
0
Branch 'as' - 15 commits - libswfdec/swfdec_as_context.c libswfdec/swfdec_as_context.h libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame.h libswfdec/swfdec_as_function.c libswfdec/swfdec_as_function.h libswfdec/swfdec_as_interpret.c
...tatus (SwfdecConnec
}
SWFDEC_AS_VALUE_SET_OBJECT (&value, info);
swfdec_as_object_unroot (info);
- swfdec_as_object_call (SWFDEC_AS_OBJECT (conn), SWFDEC_AS_STR_STATUS, 1, &value);
+ swfdec_as_object_call (SWFDEC_AS_OBJECT (conn), SWFDEC_AS_STR_STATUS, 1, &value, NULL);
}
SwfdecConnection *
diff --git a/libswfdec/swfdec_listener.c b/libswfdec/swfdec_listener.c
index b4495e7..b2021f0 100644
--- a/libswfdec/swfdec_listener.c
+++ b/libswfdec/swfdec_listener.c
@@ -135,7 +135,7 @@ swfdec_listener_execute (SwfdecListener
listener->entries[i].removed = FALSE;
}
liste...