Displaying 3 results from an estimated 3 matches for "pa_operation_unref".
2007 Dec 11
9
[Bug 13604] New: Assertion failure when seeking on youtube with pulseaudio backend.
...591): swfdec_net_stream_seek: FIXME:
restarting audio after seek
SWFDEC: WARN : swfdec_net_stream.c(591): swfdec_net_stream_seek: FIXME:
restarting audio after seek
SWFDEC: WARN : swfdec_net_stream.c(591): swfdec_net_stream_seek: FIXME:
restarting audio after seek
firefox-bin: pulse/operation.c:68: pa_operation_unref: Assertion `o' failed.
Program received signal SIGABRT, Aborted.
[Switching to Thread 0x2b641677d9c0 (LWP 11689)]
0x00002b6413542fd5 in raise () from /lib/libc.so.6
(gdb)
(gdb)
(gdb)
(gdb)
(gdb) bt
#0 0x00002b6413542fd5 in raise () from /lib/libc.so.6
#1 0x00002b6413544a30 in abort () fr...
2007 Nov 22
0
2 commits - libswfdec-gtk/swfdec_playback_pa.c
...HANDLER (sound->player, audio_added, sound);
REMOVE_HANDLER (sound->player, audio_removed, sound);
- op = pa_context_drain (sound->pa, context_drain_complete, NULL);
- if (op == NULL) {
- pa_context_disconnect (sound->pa);
- pa_context_unref (sound->pa);
- } else {
- pa_operation_unref (op);
+ if (sound->pa != NULL) {
+ op = pa_context_drain (sound->pa, context_drain_complete, NULL);
+ if (op == NULL) {
+ pa_context_disconnect (sound->pa);
+ pa_context_unref (sound->pa);
+ } else {
+ pa_operation_unref (op);
+ }
+ pa_glib_mainloop_free (...
2007 Nov 08
0
configure.ac libswfdec-gtk/Makefile.am libswfdec-gtk/swfdec_playback_pa.c
...e (Stream *stream)
+{
+ /* Pull it off of the active stream list. */
+ stream->sound->streams = g_list_remove (stream->sound->streams, stream);
+
+ /* If we have created a PA stream, defer freeing until we drain it. */
+ if (stream->pa != NULL) {
+ stream->no_more = 1;
+ pa_operation_unref (pa_stream_drain (stream->pa,
+ stream_drain_complete,
+ stream));
+ } else {
+ g_object_unref (stream->audio);
+ g_free (stream);
+ }
+}
+
+static void
+stream_state_callback (pa_stream *pa, void *data)
+{
+ switch (pa_stream_get_state(pa)) {
+ case PA_STREAM_CREATING:
+...