search for: swfdeciteratesource

Displaying 6 results from an estimated 6 matches for "swfdeciteratesource".

2007 Apr 03
0
11 commits - libswfdec-gtk/swfdec_gtk_loader.c libswfdec-gtk/swfdec_playback_alsa.c libswfdec-gtk/swfdec_source.c libswfdec/swfdec_cached.c libswfdec/swfdec_font.c libswfdec/swfdec_morphshape.c libswfdec/swfdec_net_stream.c libswfdec/swfdec_script.c
...9;ll remove itself when the player goes away. diff --git a/libswfdec-gtk/swfdec_source.c b/libswfdec-gtk/swfdec_source.c index f001de3..10d0f0e 100644 --- a/libswfdec-gtk/swfdec_source.c +++ b/libswfdec-gtk/swfdec_source.c @@ -34,7 +34,7 @@ my_time_val_difference (const GTimeVal * typedef struct _SwfdecIterateSource SwfdecIterateSource; struct _SwfdecIterateSource { GSource source; - SwfdecPlayer * player; + SwfdecPlayer * player; /* player we manage or NULL if player was deleted */ double speed; /* inverse playback speed (so 0.5 means double speed) */ gulong notify; /* set for iterate notifi...
2007 Aug 22
0
Branch 'vivi' - 2 commits - libswfdec-gtk/swfdec_source.c vivified/ui
...Date: Wed Aug 22 09:33:47 2007 +0200 only disconnect signals when the objet still exists diff --git a/libswfdec-gtk/swfdec_source.c b/libswfdec-gtk/swfdec_source.c index d570710..59f0d85 100644 --- a/libswfdec-gtk/swfdec_source.c +++ b/libswfdec-gtk/swfdec_source.c @@ -36,7 +36,7 @@ struct _SwfdecIterateSource { GSource source; SwfdecPlayer * player; /* player we manage or NULL if player was deleted */ double speed; /* inverse playback speed (so 0.5 means double speed) */ - gulong notify; /* set for iterate notifications */ + gulong notify; /* set for iterate notifications (only valid...
2007 Mar 27
0
15 commits - configure.ac doc/Makefile.am doc/swfdec-docs.sgml doc/swfdec-sections.txt doc/swfdec.types libswfdec-gtk/.gitignore libswfdec-gtk/Makefile.am libswfdec-gtk/swfdec-gtk.h libswfdec-gtk/swfdec_gtk_player.c libswfdec-gtk/swfdec_gtk_player.h
...ibswfdec-gtk/swfdec_source.c @@ -141,6 +141,15 @@ swfdec_iterate_source_new (SwfdecPlayer return (GSource *) source; } +void +swfdec_iterate_source_set_speed (GSource *source, double speed) +{ + /* FIXME: need a return_if_fail if wrong source? */ + g_return_if_fail (speed > 0.0); + + ((SwfdecIterateSource *) source)->speed = 1.0 / speed; +} + guint swfdec_iterate_add (SwfdecPlayer *player) { diff --git a/libswfdec-gtk/swfdec_source.h b/libswfdec-gtk/swfdec_source.h index 4321d6d..0c7c383 100644 --- a/libswfdec-gtk/swfdec_source.h +++ b/libswfdec-gtk/swfdec_source.h @@ -26,6 +26,8 @@ G_BEGIN_DE...
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
...9;ll remove itself when the player goes away. diff --git a/libswfdec-gtk/swfdec_source.c b/libswfdec-gtk/swfdec_source.c index f001de3..10d0f0e 100644 --- a/libswfdec-gtk/swfdec_source.c +++ b/libswfdec-gtk/swfdec_source.c @@ -34,7 +34,7 @@ my_time_val_difference (const GTimeVal * typedef struct _SwfdecIterateSource SwfdecIterateSource; struct _SwfdecIterateSource { GSource source; - SwfdecPlayer * player; + SwfdecPlayer * player; /* player we manage or NULL if player was deleted */ double speed; /* inverse playback speed (so 0.5 means double speed) */ gulong notify; /* set for iterate notifi...
2007 Dec 02
2
[Bug 13491] New: 5min.com player causes assertion
...set = 48, overflow_arg_area = 0x7fffbf5d9e20, reg_save_area = 0x7fffbf5d9d60}} #14 0x00002aaaaf9b0478 in swfdec_iterate_dispatch ( source_=<value optimized out>, callback=<value optimized out>, user_data=<value optimized out>) at swfdec_source.c:109 source = (SwfdecIterateSource *) 0x3949d40 diff = 0 #15 0x00002af7ef2c6db4 in IA__g_main_context_dispatch (context=0x76c4f0) at gmain.c:2061 No locals. #16 0x00002af7ef2ca09d in g_main_context_iterate (context=0x76c4f0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2694 got_ownership...
2007 Aug 22
0
163 commits - autogen.sh configure.ac doc/swfdec-sections.txt libswfdec-gtk/swfdec_gtk_player.c libswfdec-gtk/swfdec_gtk_player.h libswfdec-gtk/swfdec_gtk_widget.c libswfdec-gtk/swfdec_source.c libswfdec/Makefile.am libswfdec/swfdec_as_array.c
...Date: Wed Aug 22 09:33:47 2007 +0200 only disconnect signals when the objet still exists diff --git a/libswfdec-gtk/swfdec_source.c b/libswfdec-gtk/swfdec_source.c index d570710..59f0d85 100644 --- a/libswfdec-gtk/swfdec_source.c +++ b/libswfdec-gtk/swfdec_source.c @@ -36,7 +36,7 @@ struct _SwfdecIterateSource { GSource source; SwfdecPlayer * player; /* player we manage or NULL if player was deleted */ double speed; /* inverse playback speed (so 0.5 means double speed) */ - gulong notify; /* set for iterate notifications */ + gulong notify; /* set for iterate notifications (only valid...