|
From: | Nutchanon Wetchasit |
Subject: | [Gnash-commit] [bug #27952] --disable-media doesn't disable sound, but results in assertion failures |
Date: | Tue, 03 May 2016 17:29:07 +0000 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:25.8) Gecko/20151123 Firefox/31.9 PaleMoon/25.8.1 |
Follow-up Comment #10, bug #27952 (project gnash): I have tinkered around compilation problem on current Gnash git version, and found multiple issues that prevents Gnash from being successfully build with `--disable-media` configuration: * libsound's build script lacks provision to skip linking with libmedia <http://git.savannah.gnu.org/cgit/gnash.git/tree/libsound/Makefile.am?id=484ca4cd2fecb73c3308fd451004f6cc2e976fbe#n77>. So it bails when there's no libmedia to link with. * ActionScript class `NetStream` does not exclude code correctly in absence of `USE_MEDIA` macro; causing compilation failure <http://git.savannah.gnu.org/cgit/gnash.git/tree/libcore/asobj/NetStream_as.cpp?id=484ca4cd2fecb73c3308fd451004f6cc2e976fbe#n716>. * ActionScript class `NetStream` and `Sound` <http://git.savannah.gnu.org/cgit/gnash.git/tree/libcore/asobj/Sound_as.cpp?id=484ca4cd2fecb73c3308fd451004f6cc2e976fbe> does not exclude all libmedia-related code in absence of `USE_MEDIA` macro; causing link failure in `libcore/.libs/libgnashcore.so` when there's no libmedia to link with. * libcore's `SoundStreamHeadTag` <http://git.savannah.gnu.org/cgit/gnash.git/tree/libcore/swf/SoundStreamHeadTag.cpp?id=484ca4cd2fecb73c3308fd451004f6cc2e976fbe> and `tag_loaders` <http://git.savannah.gnu.org/cgit/gnash.git/tree/libcore/swf/tag_loaders.cpp?id=484ca4cd2fecb73c3308fd451004f6cc2e976fbe> module _somehow_ uses libmedia's overloaded `ostream << audioCodecType` operator <http://git.savannah.gnu.org/cgit/gnash.git/tree/libmedia/MediaParser.h?id=484ca4cd2fecb73c3308fd451004f6cc2e976fbe#n193>; causing link failure in `libcore/.libs/libgnashcore.so` when there's no libmedia to link with. Gnash: 0.8.11dev (git 484ca4c 29-Mar-2016) System: Debian GNU/Linux 7.0 Wheezy i386 _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?27952> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |