NetBSD Problem Report #43087
From www@NetBSD.org Wed Mar 31 09:34:43 2010
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by www.NetBSD.org (Postfix) with ESMTP id 2C26D63B86C
for <gnats-bugs@gnats.NetBSD.org>; Wed, 31 Mar 2010 09:34:43 +0000 (UTC)
Message-Id: <20100331093442.EC77163B11D@www.NetBSD.org>
Date: Wed, 31 Mar 2010 09:34:42 +0000 (UTC)
From: Johannes.Hofmann@gmx.de
Reply-To: Johannes.Hofmann@gmx.de
To: gnats-bugs@NetBSD.org
Subject: flash audio out of sync with multimedia/libflashsupport
X-Send-Pr-Version: www-1.0
>Number: 43087
>Category: pkg
>Synopsis: flash audio out of sync with multimedia/libflashsupport
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: abs
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Mar 31 09:35:00 +0000 2010
>Closed-Date: Sun May 15 03:27:51 +0000 2022
>Last-Modified: Sun May 15 03:27:51 +0000 2022
>Originator: Johannes Hofmann
>Release: DragonFly
>Organization:
>Environment:
DragonFly blob.baaderstrasse.com 2.5.1-DEVELOPMENT DragonFly v2.5.1.1083.g69adb-DEVELOPMENT #20: Sun Mar 28 20:30:24 CEST 2010 hofmann@blob.baaderstrasse.com:/hammer/usr/obj/hammer/usr/src/sys/T42 i386
>Description:
Video and audio are not in sync when playing flash videos via linux emulation.
The problem is a bug in the OSS interface of multimedia/libflashsupport.
>How-To-Repeat:
Play a youtube video with multimedia/libflashsupport installed and check
for video/audio synchronization.
>Fix:
The following patch fixes the issue, however multimedia/libflashsupport
currently extracts a Linux binary from some rpm, so it is unclear (to me) where or how to apply this patch.
--- flashsupport.c.orig 2010-03-31 11:27:45 +0200
+++ flashsupport.c 2010-03-31 11:33:59 +0200
@@ -775,7 +775,7 @@
struct SoundOutput_Instance *instance = (struct 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) != -1 ) {
return value / 4;
}
return 0;
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->abs
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Wed, 31 Mar 2010 10:02:43 +0000
Responsible-Changed-Why:
Over to maintainer.
State-Changed-From-To: open->feedback
State-Changed-By: abs@NetBSD.org
State-Changed-When: Wed, 31 Mar 2010 13:42:15 +0000
State-Changed-Why:
The Linux binary used in the pkgsrc entry is quite old - its quite possible there
is an updated version we could be pulling instead. Are you able to locate one and
test it (I don't have an environment where I can test this setup right now).
Thanks
From: Johannes Hofmann <Johannes.Hofmann@gmx.de>
To: gnats-bugs@NetBSD.org
Cc: abs@NetBSD.org, pkgsrc-bugs@netbsd.org, gnats-admin@netbsd.org
Subject: Re: pkg/43087 (flash audio out of sync with
multimedia/libflashsupport)
Date: Thu, 1 Apr 2010 19:31:59 +0200
On Wed, Mar 31, 2010 at 01:42:16PM +0000, abs@NetBSD.org wrote:
> Synopsis: flash audio out of sync with multimedia/libflashsupport
>
> State-Changed-From-To: open->feedback
> State-Changed-By: abs@NetBSD.org
> State-Changed-When: Wed, 31 Mar 2010 13:42:15 +0000
> State-Changed-Why:
> The Linux binary used in the pkgsrc entry is quite old - its quite possible there
> is an updated version we could be pulling instead. Are you able to locate one and
> test it (I don't have an environment where I can test this setup right now).
I did some research and it seems that even the newest SUSE rpm's of
libflashsupport still had this bug. However as I found out via a
SUSE bug report [1], in the very latest version they have dropped
libflashsupport alltogether.
So I just put source [2] and precompiled binary [3] on my webpage.
Either we leave things as they are and interested people can
download and install the fixed binary manually or we integrate the
new binary into pkgsrc.
Cheers,
Johannes
[1] https://bugzilla.novell.com/show_bug.cgi?id=592842
[2] http://flpsed.org/flashsupport.c
[3] http://flpsed.org/libflashsupport.so.gz
State-Changed-From-To: feedback->open
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Fri, 15 Oct 2010 05:19:22 +0000
State-Changed-Why:
feedback was received in April
From: Peter Avalos <peter@theshell.com>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/43087 (flash audio out of sync with
multimedia/libflashsupport)
Date: Sat, 22 Jan 2011 21:55:52 -1000
--54u2kuW9sGWg/X+X
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
We need to do something...I suggest we take the source code (it's only 1
file) and add that to pkgsrc, and compile it to create
libflashsupport.so.
--Peter
--54u2kuW9sGWg/X+X
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (DragonFly)
iEYEARECAAYFAk073wgACgkQKjaxugguz8VfDwCfbEFJNg2k3TUuibLxc2DADW9b
hsEAoIyFLGrXTRIkSNA3PGNtwwGSpej4
=JYoN
-----END PGP SIGNATURE-----
--54u2kuW9sGWg/X+X--
State-Changed-From-To: open->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sun, 15 May 2022 03:27:51 +0000
State-Changed-Why:
flash is dead upstream
>Unformatted:
(Contact us)
$NetBSD: gnats-precook-prs,v 1.4 2018/12/21 14:20:20 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.