[Swfdec] [Bug 18616] Screeching sound at end of videos

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Nov 19 13:14:14 PST 2008


http://bugs.freedesktop.org/show_bug.cgi?id=18616





--- Comment #3 from Riccardo Magliocchetti <riccardo at datahost.it>  2008-11-19 13:14:13 PST ---
This was my original patch and should work for you too :)

diff --git a/swfdec-gtk/swfdec_playback_pulse.c
b/swfdec-gtk/swfdec_playback_pulse.c
index 5aa85f0..e867ac8 100644
--- a/swfdec-gtk/swfdec_playback_pulse.c
+++ b/swfdec-gtk/swfdec_playback_pulse.c
@@ -79,6 +79,7 @@ stream_write_callback (pa_stream *pa,
     g_printerr ("Failed to allocate fragment of size %d\n", (int)bytes);
     return;
   }
+  memset(frag, 0, bytes);

   /* Set up our fragment and render swfdec's audio into it. The swfdec audio
    * decoder renders deltas from the existing data in the fragment.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the Swfdec mailing list