I have a player, I'm using WS_LAYERED style windows and open a seperate instance, player, and media clip on its own surface. I open two of these at once, and play one. When that stops, I start the other, and release the first, and create a new player on a new surface. A few seconds into the video there is a jitter... which is shown in --verbose=2 to be accompanied by decode loading, configuring, prebuffering (of the second video?).
I added a drop prioirty on the thread that actually creates the player; this did improve the smoothness a degree. However, disconting all the extra verbose logging, there is a decoding error in these videos... which is something like 'triggering upsampling' which, since it seems to work, can't I just start with upsampling triggered?
I do note that as a result of creating a player with a media clip, several other threads are created, which do not have their priority dropped (probably)... is there a way to find these threads? Do I really have to or is the media load done in the player creation thread?