[BUG]MPEGPlugin Re: [BUG]Re: [updates] 36 for 3.1alpha

Karl Ramberg karl.ramberg at chello.se
Mon Mar 12 10:20:40 UTC 2001



John M McIntosh wrote:
> 
> Ok, I was able to use the playerMorphic to bring up the video and
> play it. It takes a long time before the first frame happens. Perhaps
> there is a problem in the encoding with how many keyframes there are.
> 
> However usually if I adjust the location using the slider, we will
> end up in the C code attempting to seek to the required frame and it
> does not return. I'll look tomorrow to see if I can understand what
> the issue is.
> 
> Note that there is some problems with seeking on a percentage basis,
> versus a frame/sample viewpoint. The underlying C code relies on
> timecode information if you seek on a percentage bases. But timecode
> information is optional, thus we loop forever when it can't resolve
> the percentage request. I quick look shows (I believe) this isn't the
> case, but more effort on my part is required to resolve the problem.

The MPEGPlayerMorph and MPEGPlayer2 uses the set frame/sample and not
the percentage.
It uses getPercentage when there it is playing a audio only file, to give
progress to the the slider, but setting is always frame/sample.

Karl





More information about the Squeak-dev mailing list