gnash-dev
[Top][All Lists]
Advanced

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

Re: [Gnash-dev] std::bad_cast


From: Richard Wilbur
Subject: Re: [Gnash-dev] std::bad_cast
Date: Thu, 14 May 2009 15:33:29 -0600

On Thu, 2009-05-14 at 20:43 +0200, Andrea Palmatè wrote:
> Here it is..
> this is the main problem on AmigaOS4... changing those two functions  
> cure all the problems and now i'm able to play almost all files that i  
> play correctly on window.. But the proposal for the patch is this:
> 
> 
> as_value
> string_toLowerCase(const fn_call& fn)
> {
[...]
> #ifdef __amigaos4__
>       std::string str = val.to_string();
>     boost::to_lower(str);
> 
>     return as_value(str);
> #else
[...]
> #endif
> }
> 
> I know.. is a bit hackish. maybe we can use instead of __amigaos4__ a  
> define variable like HAVE_WSTRING since also Haiku (aka Beos) has this  
> problem and maybe also other systems that doesn't have wstring support
> What do you think?
> 
Congratulations on finding the culprits!  I think your proposal of
something along the lines of HAVE_WSTRING is indeed preferable to
__amigaos4__.

> Now the latest youtube player is playing videos correctly but is too  
> slow also on a G4 933Mhz..
> 
> Actually i'm using AGG and SDL so i can find all OS4 bugs before  
> starting with a native OS4 gui
> 
Maybe some of those AGG optimizations recently created can help improve
the playback speed.






reply via email to

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