I'm trying to create a Symbian app that can play two video clips back-to-back without any pauses in between the two clips. I'm using CVideoPlayerUtility to play the clips.

I tried starting the second clip after the first completes. This left a pause in between the two clips.

Next I performed the OpenFileL and Prepare of the second clip while the first is still playing. I wait until the first clip finishes before calling PlayL. This also causes a pause of about one second in between the two clips.

Why is PlayL taking so long, and is there any way I can reduce the lag?

Would it be faster to load the file into memory using OpenDesL instead?