Mantis - Croquet
Viewing Issue Advanced Details
3454 Hedgehog minor always 04-10-06 17:25 06-19-06 21:46
howardstearns  
andreas  
normal  
resolved  
fixed  
none    
none  
0003454: MPEG Demo doesn't loop
In beta 4, the movie played continuously when you clicked on the TMpegDisplayMorph, and stopped only when you clicked again.

It looks like beta 6 is still trying to do the same thing, but it stops after one play and will not restart.

(Tested on Mac and Windows.)
 fix-3454.1.cs [^] (676 bytes) 05-13-06 02:09

Notes
(0004904)
bfowlow   
05-13-06 02:13   
Attaching a fix for at least the Croquet-specific case.

The problem is that some changes to MpegDisplayMorph and MPEGFile
are making the morph forget its relationship to the MPEGFile name.

Specifically... the MPEGFile is created through a path that opens
an intermediate buffer, but this path forgets the intermediate file name.
Meanwhile, rewindMovie: works by re-opening "mpegFile filename"
but the buffered mpegFile has forgotten its name.

So the fix is a code path that creates a buffered MPEGFile
and remembers the original path name.

(0005281)
andreas   
06-19-06 21:46   
Added to repository.