Displaying 3 results from an estimated 3 matches for "swfdec_sandbox_use".
Did you mean:
swfdec_sandbox_unuse
2007 Dec 19
6
[Bug 13739] New: rutube.ru player is not working
http://bugs.freedesktop.org/show_bug.cgi?id=13739
Summary: rutube.ru player is not working
Product: swfdec
Version: git
Platform: x86-64 (AMD64)
URL: http://rutube.ru/tracks/38127.html?v=12e2ab9a6d7379339ae
bfb6bff03be7a
OS/Version: Linux (All)
Status: NEW
Severity: normal
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
...SwfdecSandbox *sandbox = walk->data;
+ swfdec_as_object_get_variable (SWFDEC_AS_OBJECT (sandbox), object_name, &val);
+ if (!SWFDEC_AS_VALUE_IS_OBJECT (&val))
+ return;
+ obj = SWFDEC_AS_VALUE_GET_OBJECT (&val);
+ SWFDEC_AS_VALUE_SET_STRING (&val, signal);
+ swfdec_sandbox_use (sandbox);
+ swfdec_as_object_call (obj, SWFDEC_AS_STR_broadcastMessage, 1, &val, NULL);
+ swfdec_sandbox_unuse (sandbox);
+ }
}
static void
commit ae135374042a5e5a53c6533324b7e389da92b13d
Author: Benjamin Otte <otte at gnome.org>
Date: Mon Jan 21 22:32:18 2008 +0100
mak...
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
...ref (buffer);
+ } while (go_on);
+ return FALSE;
+}
+
+static void
+swfdec_load_sound_stream_target_error (SwfdecStreamTarget *target,
+ SwfdecStream *stream)
+{
+ SwfdecLoadSound *sound = SWFDEC_LOAD_SOUND (target);
+ SwfdecAsValue val;
+
+ SWFDEC_AS_VALUE_SET_BOOLEAN (&val, FALSE);
+ swfdec_sandbox_use (sound->sandbox);
+ swfdec_as_object_call (sound->target, SWFDEC_AS_STR_onLoad, 1, &val, NULL);
+ swfdec_sandbox_unuse (sound->sandbox);
+
+ swfdec_stream_set_target (stream, NULL);
+ g_object_unref (stream);
+ sound->stream = NULL;
+}
+
+static void
+swfdec_load_sound_stream_t...