[squeak-dev] Re: GStreamer
Yoshiki Ohshima
yoshiki at vpri.org
Thu Aug 14 22:06:29 UTC 2008
At Wed, 13 Aug 2008 16:06:27 -0700,
Joshua Gargus wrote:
>
> >> * #checkDimension is only sent but not implemented.
>
> You are seeing sends of #checkDimension in #videoFrameHeight/Width/Rate,
> right? Sorry, my fault... I thought that I removed all senders (but
> these were in the GStreamer-UI package, which must be why I missed them).
>
> It should be safe to remove those sends of #checkDimension. In fact, I
> went ahead and did this; the changes are checked in.
>
> Let me know if this works, or if other bugs pop up (quite possible,
> since I apparently only tested the latest updates with Workspace
> snippets and unit tests, not the Morphic UI).
Thank you. I'm also working on so that the movie player morph can
survive during the saving and restarting image, etc.
> checkDimension
> self width ifNotNil: [^self].
> width := self squeakerVideo getWidth.
> height := self squeakerVideo getHeight.
> fps := (self squeakerVideo getFrameRateNumerator) /
> (self squeakerVideo getFrameRateDenominator).
>
> However, it doesn't make much sense to retrieve the width, height, and
> frame-rate each time you want to access one of the three.
Ok. Thanks.y
-- Yoshiki
More information about the Squeak-dev
mailing list
|