Click here to Skip to main content
15,907,497 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I developped an application capable of playing video with DirectShow and scrolling text with layered windows. Text is drawn using GDIPlus.

I remarked text was sometimes stuttering when using EVR renderer.
I could point out that stuttering occurs exactly during the RenderFile method call.
In fact, I finally did noticed it's also stuttering with VMR9, but almost not perceptible.

So it looks like RenderFile is locking GDIPlus access, particularly noticeable when in EVR mode.
My application is fully multi-threaded.

Any idea of what can happen, and how to fix it ?

Thanks in advance.

What I have tried:

I did not try anything special so far.
The application was VMR9 based and I just implemented EVR and discovered the issue.
Any idea of things I can try would be appreciated, provided that it does not reconsider use of GDIPlus for text scrolling and DirectShow for video playback.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900