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.