Playvideo bug?

O Ilusionista

Captain 100K
It was reported to me that once you use playvideo (script)
Code:
@cmd playwebm "data/scenes/demo.webm" 1
The stage music stops to play if you use playvideo. I tested it myself and yes, once the video starts, the music stops and don't play again anymore.

I think its make sense to pause the music, but not stop it.

Is there a plan to update this feature?
 
I haven't looked since I'm on a down-cycle for coding, but I would guess it is because both video and sound are direct stream from the .pak data instead of from memory. For video to work, the sound stream has to be stopped, and there just wasn't provision written to store the current sound stream byte in play.

That's my guess, and if so we might be able to fix, though I'm not sure if it's worth it to add yet another 4 bytes of memory consumption for something you can already do manually (the expectation being if you are advanced enough to be using video, you are advanced enough to restart music).

It's all speculation though, atm I'm just not 100% sure.

DC
 
Back
Top Bottom