Jump to content

  • Log In with Google      Sign In   
  • Create Account


VMR9 Allocator - PresentImage( ) lags


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
1 reply to this topic

#1 AnujKhanna   Members   -  Reputation: 100

Like
0Likes
Like

Posted 26 August 2011 - 05:59 AM

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.

Sponsor:

#2 Yash14   Members   -  Reputation: 100

Like
0Likes
Like

Posted 03 November 2011 - 07:23 AM

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.




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS