Displaying 8 results from an estimated 8 matches for "swfdec_net_stream_timeout".
2007 Dec 29
3
[Bug 13855] New: Assertion failure at the end of a movie
http://bugs.freedesktop.org/show_bug.cgi?id=13855
Summary: Assertion failure at the end of a movie
Product: swfdec
Version: 0.5.5
Platform: x86-64 (AMD64)
URL: http://www.csfd.cz/film/224182-ja-legenda-i-am-
legend/trailer/
OS/Version: Linux (All)
Status: NEW
Severity: major
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
...eam_class, swfdec_js_net_stream_new, 0, net_stream_props, net_stream_methods,
- NULL, NULL);
-}
-
diff --git a/libswfdec/swfdec_net_stream.c b/libswfdec/swfdec_net_stream.c
index 1a64f4c..0aeab9d 100644
--- a/libswfdec/swfdec_net_stream.c
+++ b/libswfdec/swfdec_net_stream.c
@@ -131,7 +131,7 @@ swfdec_net_stream_timeout (SwfdecTimeout
SWFDEC_LOG ("readding timeout");
stream->timeout.timestamp += SWFDEC_MSECS_TO_TICKS (stream->next_time - stream->current_time);
stream->timeout.callback = swfdec_net_stream_timeout;
- swfdec_player_add_timeout (stream->player, &stream-&g...
2007 Mar 20
0
2 commits - libswfdec/swfdec_bits.c libswfdec/swfdec_net_stream.c
...NULL; /* checks there even is something to play */
+ should_play &= stream->next_time > stream->current_time; /* checks if EOF */
if (should_play && stream->timeout.callback == NULL) {
SWFDEC_DEBUG ("starting playback");
stream->timeout.callback = swfdec_net_stream_timeout;
2007 Mar 14
0
10 commits - libswfdec/swfdec_flv_decoder.c libswfdec/swfdec_flv_decoder.h libswfdec/swfdec_js_global.c libswfdec/swfdec_js_movie.c libswfdec/swfdec_js_net_stream.c libswfdec/swfdec_loader.c libswfdec/swfdec_loader.h libswfdec/swfdec_loadertarget.c
...ot;NetStream.Play.Stop", "status");
+ } else {
+ stream->buffering = TRUE;
+ swfdec_net_stream_onstatus (stream, "NetStream.Buffer.Empty", "status");
+ }
+ swfdec_net_stream_update_playing (stream);
+ }
}
static void
@@ -84,13 +124,13 @@ swfdec_net_stream_timeout (SwfdecTimeout
SwfdecNetStream *stream = SWFDEC_NET_STREAM ((guchar *) timeout - G_STRUCT_OFFSET (SwfdecNetStream, timeout));
SWFDEC_LOG ("timeout fired");
+ stream->timeout.callback = NULL;
swfdec_net_stream_video_goto (stream, stream->next_time);
if (stream->next...
2007 Mar 22
0
11 commits - libswfdec/swfdec_color.c libswfdec/swfdec_flv_decoder.c libswfdec/swfdec_js_net_stream.c libswfdec/swfdec_movie.c libswfdec/swfdec_net_stream.c libswfdec/swfdec_net_stream.h libswfdec/swfdec_pattern.c libswfdec/swfdec_script.c NEWS test/trace
...te <otte@gnome.org>
Date: Thu Mar 22 16:12:49 2007 +0100
remove the audio stream on EOS
diff --git a/libswfdec/swfdec_net_stream.c b/libswfdec/swfdec_net_stream.c
index 2b249f4..99363f9 100644
--- a/libswfdec/swfdec_net_stream.c
+++ b/libswfdec/swfdec_net_stream.c
@@ -157,6 +157,14 @@ swfdec_net_stream_timeout (SwfdecTimeout
stream->timeout.timestamp += SWFDEC_MSECS_TO_TICKS (stream->next_time - stream->current_time);
stream->timeout.callback = swfdec_net_stream_timeout;
swfdec_player_add_timeout (stream->player, &stream->timeout);
+ } else {
+ if (stream->audi...
2007 Mar 02
0
12 commits - libswfdec/Makefile.am libswfdec/swfdec_audio_flv.c libswfdec/swfdec_flv_decoder.c libswfdec/swfdec_js.c libswfdec/swfdec_js.h libswfdec/swfdec_js_video.c libswfdec/swfdec_loader.c libswfdec/swfdec_loader_internal.h
..._update_playing (Swfdec
should_play &= stream->next_time > stream->current_time;
if (should_play && stream->timeout.callback == NULL) {
SWFDEC_DEBUG ("starting playback");
- g_print ("starting playback\n");
stream->timeout.callback = swfdec_net_stream_timeout;
stream->timeout.timestamp = stream->player->time + SWFDEC_MSECS_TO_TICKS (stream->next_time - stream->current_time);
swfdec_player_add_timeout (stream->player, &stream->timeout);
@@ -116,7 +115,6 @@ swfdec_net_stream_update_playing (Swfdec
SWFDEC_LOG (&quo...
2007 Dec 10
0
5 commits - libswfdec/jpeg libswfdec/swfdec_as_interpret.c libswfdec/swfdec_bits.c libswfdec/swfdec_cached.c libswfdec/swfdec_codec_adpcm.c libswfdec/swfdec_codec_audio.c libswfdec/swfdec_flash_security.c libswfdec/swfdec_image.c
...YER (context);
diff --git a/libswfdec/swfdec_net_stream.c b/libswfdec/swfdec_net_stream.c
index b822991..35c8c8e 100644
--- a/libswfdec/swfdec_net_stream.c
+++ b/libswfdec/swfdec_net_stream.c
@@ -159,7 +159,7 @@ swfdec_net_stream_video_goto (SwfdecNetStream *stream, guint timestamp)
static void
swfdec_net_stream_timeout (SwfdecTimeout *timeout)
{
- SwfdecNetStream *stream = SWFDEC_NET_STREAM ((guchar *) timeout - G_STRUCT_OFFSET (SwfdecNetStream, timeout));
+ SwfdecNetStream *stream = SWFDEC_NET_STREAM ((void *) ((guchar *) timeout - G_STRUCT_OFFSET (SwfdecNetStream, timeout)));
SWFDEC_LOG ("timeout f...
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
...libswfdec/swfdec_net_stream.c
+++ b/libswfdec/swfdec_net_stream.c
@@ -193,7 +193,7 @@ swfdec_net_stream_update_playing (SwfdecNetStream *stream)
if (should_play && stream->timeout.callback == NULL) {
SWFDEC_DEBUG ("starting playback");
stream->timeout.callback = swfdec_net_stream_timeout;
- stream->timeout.timestamp = player->time + SWFDEC_MSECS_TO_TICKS (stream->next_time - stream->current_time);
+ stream->timeout.timestamp = player->priv->time + SWFDEC_MSECS_TO_TICKS (stream->next_time - stream->current_time);
swfdec_player_add_timeout (playe...