AVSync class stop/play functionality

AVSync class stop/play functionality

Hi,

I was playing around with AVSync class and discovered that I have to reinitialize the AVSync object to be able to play it again, because AVSync::Stop() is basically calls Close() which deallocates all used resources.

I'm trying to write my own video player which can play a movie multiple times and even multiple movies at the same time, so currently player has to reinitialize the AVSync in order to play the same movie, which consumes a lot of CPU time. Does anyone have any suggestions on how to improve this situation?

I've done some modifications to the AVSync and my player so it reuses the Video and Audio Decoder/Render object, this improved the CPU consumption but still there is some CPU overhead present.

P.S. I'm using IPP 6.0 update 1.

Thanks,
Andrei.

1 post / 0 new
For more complete information about compiler optimizations, see our Optimization Notice.