
http://bugzilla.novell.com/show_bug.cgi?id=592842 http://bugzilla.novell.com/show_bug.cgi?id=592842#c0 Summary: flash video / audio out of sync due to bug in OSS backend of libflashsupport Classification: openSUSE Product: openSUSE 11.3 Version: Factory Platform: All OS/Version: DragonflyBSD Status: NEW Severity: Major Priority: P5 - None Component: Sound AssignedTo: tiwai@novell.com ReportedBy: Johannes.Hofmann@gmx.de QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; DragonFly i386; en-US; rv:1.9.1.6) Gecko/20100122 Shiretoko/3.5.6 A bug in libflashsupport causes video and audio to be out of sync when using the OSS backend. Reproducible: Always Steps to Reproduce: 1. Play flash video with OSS backend - other backends (ALSA, pulsaudio, etc) work ok Actual Results: video plays with sound, but they are out of sync. This is mostly visible with interviews. Expected Results: Audio and video in sync. The cause is a bug in flashsupport.c. The following patch fixes it: --- flashsupport.c.orig 2010-03-31 23:04:36.000000000 +0200 +++ flashsupport.c 2010-03-31 23:04:59.000000000 +0200 @@ -1203,7 +1203,7 @@ struct OSS_SoundOutput_Instance *instance = (struct OSS_SoundOutput_Instance *)ptr; if ( instance->oss_fd ) { int value = 0; - if ( ( value = ioctl(instance->oss_fd,SNDCTL_DSP_GETODELAY,&value) ) == 0 ) { + if ( ioctl(instance->oss_fd, SNDCTL_DSP_GETODELAY, &value) >= 0 ) { return value / 4; } return 0; -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.