Hi there it’s me again
I am working alot with the media framework and I found something new to me.
I have two videos (vidA and vidB) that I want to play at a plane. When vidA is playing and i call an event I change the mediaFileSource, seek to the time vidA was when I switched to vidB.
When I start the whole process I set the material of the plane to a basic black material, so you can’t see the paused video. When the mediaPlayer finished loading and is ready to play I set the material of the plane to the mediaMaterial to see the video.
On my Galaxy S3 neo I see maybe two frames of vidA after the material of the plane is set back to the mediaMaterial and then the new video is displayed. I have also tried to delay the set material (mediaMaterila) but it still shows the frames of the wrong video.
So my question: Is the mediaMaterial updated when it is seen by the player and this causes the first frames to show the wrong movie?
Or is my setup wrong?
Hope you can help me with this
Greetings,
Evil_Fischi