Displaying 6 results from an estimated 6 matches for "swfdec_player_compress_act".
2007 Oct 14
3
libswfdec/swfdec_player.c
libswfdec/swfdec_player.c | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit f82b818ab4cf2148fafbb9eec5a27622ccd680d7
Author: Benjamin Otte <otte at gnome.org>
Date: Sun Oct 14 17:04:21 2007 +0200
lock the player when handling keys
ooooops
diff --git a/libswfdec/swfdec_player.c b/libswfdec/swfdec_player.c
index 32254ab..4980b21 100644
---
2007 Nov 10
6
[Bug 13167] New: crash firefox if you close tab while playing flash files
...version:
git 1453a43c36678b07a4c585e1173a0d4b78bc8e52
how to reproduce:
open
http://mediacenter.corriere.it/MediaCenter/action/player?uuid=aee20436-8c92-11dc-a06b-0003ba99c53b
in firefox, start playing the flash files then close the browser tab.
Swfdec-ERROR **: file swfdec_player.c: line 349
(swfdec_player_compress_actions): assertion failed: (action)
aborting...
Program received signal SIGABRT, Aborted.
---Type <return> to continue, or q <return> to quit---
[Switching to Thread 0xb7158920 (LWP 24223)]
0xb73397d6 in raise () from /lib/libc.so.6
(gdb)
(gdb) bt
#0 0xb73397d6 in raise () from /lib/lib...
2007 Nov 12
0
3 commits - libswfdec/swfdec_player.c test/trace
...SwfdecPlayer *player, guint importance, SwfdecPlaye
SwfdecPlayerAction *action = swfdec_ring_buffer_push (player->actions[importance]);
if (action == NULL) {
/* try to get rid of freed actions */
- if (swfdec_ring_buffer_get_size (player->actions[importance]) >= 256) {
- swfdec_player_compress_actions (player->actions[importance]);
- action = swfdec_ring_buffer_push (player->actions[importance]);
- /* if it doesn't get smaller, bail */
- if (action == NULL) {
- swfdec_as_context_abort (SWFDEC_AS_CONTEXT (player),
- "256 levels of recursion were exceeded in...
2007 Dec 13
0
libswfdec-gtk/swfdec_gtk_player.c libswfdec/swfdec_as_date.c libswfdec/swfdec_audio.c libswfdec/swfdec_audio_event.c libswfdec/swfdec_button_movie.c libswfdec/swfdec_interval.c libswfdec/swfdec_key_as.c libswfdec/swfdec_mouse_as.c libswfdec/swfdec_movie.c
...ayer);
- player->timeouts = g_list_remove (player->timeouts, timeout);
+ priv->timeouts = g_list_remove (priv->timeouts, timeout);
if (next_tick != swfdec_player_get_next_event_time (player))
g_object_notify (G_OBJECT (player), "next-event");
}
@@ -364,18 +370,19 @@ swfdec_player_compress_actions (SwfdecRingBuffer *buffer)
static void
swfdec_player_do_add_action (SwfdecPlayer *player, guint importance, SwfdecPlayerAction *act)
{
- SwfdecPlayerAction *action = swfdec_ring_buffer_push (player->actions[importance]);
+ SwfdecPlayerPrivate *priv = player->priv;
+ SwfdecPlayerActi...
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
...f
Author: Benjamin Otte <otte at gnome.org>
Date: Sat Nov 3 20:28:35 2007 +0100
remove debugging g_print
diff --git a/libswfdec/swfdec_player.c b/libswfdec/swfdec_player.c
index 0d16a0b..8d7b509 100644
--- a/libswfdec/swfdec_player.c
+++ b/libswfdec/swfdec_player.c
@@ -355,8 +355,6 @@ swfdec_player_compress_actions (SwfdecRingBuffer *buffer)
}
SWFDEC_INFO ("compresed action queue to %u elements",
swfdec_ring_buffer_get_n_elements (buffer));
- g_print ("compresed action queue to %u elements\n",
- swfdec_ring_buffer_get_n_elements (buffer));
for (i = 0; i < swf...
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
....org>
Date: Mon Nov 12 17:59:40 2007 +0100
only pop as many actions as exist
off-by-one error here
diff --git a/libswfdec/swfdec_player.c b/libswfdec/swfdec_player.c
index 7d68208..ea6cb4b 100644
--- a/libswfdec/swfdec_player.c
+++ b/libswfdec/swfdec_player.c
@@ -344,7 +344,7 @@ swfdec_player_compress_actions (SwfdecRingBuffer *buffer)
SwfdecPlayerAction *action, tmp;
guint i = 0;
- for (i = swfdec_ring_buffer_get_n_elements (buffer) + 1; i > 0; i--) {
+ for (i = swfdec_ring_buffer_get_n_elements (buffer); i > 0; i--) {
action = swfdec_ring_buffer_pop (buffer);
g_assert (ac...