gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] [patch #8993] Patches to fix problems when `--disable-med


From: Nutchanon Wetchasit
Subject: [Gnash-commit] [patch #8993] Patches to fix problems when `--disable-media` configure option was used
Date: Tue, 10 May 2016 15:09:21 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux i686; rv:25.8) Gecko/20151123 Firefox/31.9 PaleMoon/25.8.1

Follow-up Comment #8, patch #8993 (project gnash):

An alternative solution that I could come up with right now is changing the
problematic log messages to show *just codec number* instead of codec name, by
casting the `media::videoCodecType format` enum to a generic `int` when
`USE_MEDIA` macro is absent.

This way, link errors could be fixed while the useful SWF parsing log messages
remain in place and libgnashmedia remains unchanged.

SWF parsing message when run Gnash (verbose parsing) with `pcmplay.swf` (file
#34599 bug #45722) on `--disable-media` build would look like this:

define sound: ch=1, format=3, rate=44100, 16=1, stereo=0, ct=44100, delay=0


While on a normal build, the message will look like this:

define sound: ch=1, format=Uncompressed, rate=44100, 16=1, stereo=0, ct=44100,
delay=0


SWF parsing message when run Gnash (verbose parsing) with `sync-sound.swf`
(file #23431 bug #33294) on `--disable-media` build would look like this:

sound stream head: format=2, rate=22050, 16=1, stereo=1, ct=459, latency=1633


While on a normal build, the message will look like this:

sound stream head: format=MP3, rate=22050, 16=1, stereo=1, ct=459,
latency=1633


Gnash: 0.8.11dev (patched against git 484ca4c 29-Mar-2016)
System: Debian GNU/Linux 7.0 Wheezy i386  


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/patch/?8993>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]