Code review comment for lp:~samuel-buffet/entertainer/bug_281244

Revision history for this message
Samuel Buffet (samuel-buffet) wrote :

Hi again,

This is a possible fix for Bug #281244, and if it doesn't at least it fixes the one I had.

Jamie, does this makes a difference for you?

In fact I'm not able to reproduce Jamie's bug but I had another one that was probably of the same kind. Watching a video + stop + back + start another video and ... the video texture was freezed on the last frame of the first video.

So there was a kind of video texture initialization error.

adding 2 lines in the set_media method of the MediaPlayer:

one to stop before changing the uri
and setting media position to 0 after having setted the uri

... gives good results on my machine.

But as those lines are more Art than Science (I don't really understand why it seems to work and why it's needed), I think this fix has to be confirmed by everyone.

Cheers,
Samuel-

« Back to merge proposal