Hi all,
I have a WPF (.NET 4) app and uses managed DirectX (DirectShow) for rendering videos.
During some operations on the UI (WPF Window), the calls to PresentImage() in our Allocator somehow lags behind. This causes flickering of the video being played. Although testing suggests that PresentImage() does get called at rate of the FPS, it's just that the calls are not equally spaced which causes the flickering.
Anyone faced with same scenario or have any idea to get it fixed?
Thanks in advance.
VMR9 Allocator - PresentImage( ) lags
Hi all,
I have a WPF (.NET 4) app and uses managed DirectX (DirectShow) for rendering videos.
During some operations on the UI (WPF Window), the calls to PresentImage() in our Allocator somehow lags behind. This causes flickering of the video being played. Although testing suggests that PresentImage() does get called at rate of the FPS, it's just that the calls are not equally spaced which causes the flickering.
Anyone faced with same scenario or have any idea to get it fixed?
Thanks in advance.
Hi!
It is happening because your render target is being changed every time the getSurface function gets a call resulting in flickering.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement