Displaying 2 results from an estimated 2 matches for "0b7be3d".
Did you mean:
0b37e3d
2007 Aug 03
0
libswfdec-gtk/swfdec_playback_alsa.c
...at gnome.org>
Date: Sat Aug 4 00:32:25 2007 +0200
remove assertion
The assertion triggers if a stream could not be created. If there is none, it
cannot be removed either.
diff --git a/libswfdec-gtk/swfdec_playback_alsa.c b/libswfdec-gtk/swfdec_playback_alsa.c
index f227781..0b7be3d 100644
--- a/libswfdec-gtk/swfdec_playback_alsa.c
+++ b/libswfdec-gtk/swfdec_playback_alsa.c
@@ -307,7 +307,6 @@ audio_removed (SwfdecPlayer *player, Swf
return;
}
}
- g_assert_not_reached ();
}
SwfdecPlayback *
2007 Nov 08
0
configure.ac libswfdec-gtk/swfdec_gtk_widget.c libswfdec-gtk/swfdec_playback_alsa.c libswfdec/swfdec_as_date.c libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_types.c libswfdec/swfdec_audio_flv.c libswfdec/swfdec_audio_flv.h
...break;
+ if (type == CAIRO_SURFACE_TYPE_IMAGE) {
+ return cairo_image_surface_create (CAIRO_FORMAT_ARGB32, width, height);
+ } else {
+ return NULL;
}
-
- return NULL;
}
static gboolean
diff --git a/libswfdec-gtk/swfdec_playback_alsa.c b/libswfdec-gtk/swfdec_playback_alsa.c
index 0b7be3d..dd539c5 100644
--- a/libswfdec-gtk/swfdec_playback_alsa.c
+++ b/libswfdec-gtk/swfdec_playback_alsa.c
@@ -189,8 +189,14 @@ swfdec_stream_start (Stream *stream)
swfdec_stream_install_handlers (stream);
}
break;
+ case SND_PCM_STATE_OPEN:
+ case SND_PCM_STATE_SETUP:
+ case SN...