[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-dev] IMPORT tag loader (was: Dejagnu.swf loadable module)
From: |
Sandro Santilli |
Subject: |
[Gnash-dev] IMPORT tag loader (was: Dejagnu.swf loadable module) |
Date: |
Fri, 17 Nov 2006 18:07:05 +0100 |
On Thu, Nov 16, 2006 at 12:19:46PM +0100, Sandro Santilli wrote:
> When an IMPORT tag is encountered, Gnash will load the movie from
> it's url specification, and then will try to extract exported simbols
> from it.
>
> Now, since we load using a separate thread, the imported movie might
> have been not yet parsed up to the EXPORT tag, which means that the
> IMPORT tag executor will NOT find the exported symbol.
I committed a patch in both head and release branch to have
get_exported_resource() scan the movie until either the EXPORT
tag for the requested symbol if found, the SWF stream ends, or
a timeout occurred.
Seems the better solution (btw, MM player is reported to crash on
situations that gnash handle just fine)
Dejagnu.swf "shared lib" is lovely :)
--strk;