gnash-dev
[Top][All Lists]
Advanced

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

[Gnash-dev] Embedded video findings


From: strk
Subject: [Gnash-dev] Embedded video findings
Date: Fri, 11 Jul 2008 16:05:44 +0200

Playing with our Video-EmbedSquareTest.swf file I figured how
a video instance knows which embedded video frame number to play:

  RATIO !!

Basically, PlaceObject2 tag, changing the ratio of the character
change the video frame to play next.
I found a comment in Ming wondering why it needs to set a ratio,
this is an answer to that, and finally fixes the confusing gnash
code handlign that.

For Ming, I guess the embedded video production can now be greatly
cleaned up, by basically making association of a DisplayItem
with a video frame more explicit, which is using SWFDisplayItem_setRatio()
rather then the heuristic showFrame loops.

Would be nice to have this before Ming new release is out.
Klaus: comments ?

--strk;

 ()   ASCII Ribbon Campaign
 /\   Keep it simple! 





reply via email to

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