Click here to Skip to main content
16,022,417 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi ,

I am using direct show to play video,after each video i am clearing the objects(graph,control,media etc).So there appears a gap between the vedio.How can we avoid this gap?
Pls help
Posted

Hi

I have tried playing using different controls .But still there is gap between the two video.After each video completes i am clearing the graph using Marshal.ReleaseComObject(graph),graph=null. I think by releasing the com objects there seems a gap .But with out releasing this a flickering occurs for the tranaparent form kept over the video .
To avoid this flickering i used marshal.ReleaseComObject after each video.Is there any other way to avoid this gap .I need to play video continously without any gap?

If we are not releasing this components ,the trnaparent form flickers .

Is it possible.
 
Share this answer
 
The answer to this question has not changed since I last told you. You need to have the other one preloaded so you can play it in a different control the moment the other one ends, or pay the price of waiting for it to be ready to play.
 
Share this answer
 

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