02-15-2010, 10:20
|
Walter

Joined on 04-14-2008
Charlotte, NC
Posts 278
|
Re: Apparent callback filter timeout when ReceiveProc is called
|
 
 
|
|
|
For those experiencing this same issue, incident number 6420AMN was determined to not be a bug for the following reason:
The problem is the garbage collector. It does not release the sample in a timely manner, and the video renderer has no more to give. This can be solved with the following code:
Private Sub Timer1_Tick(ByVal eventSender As System.Object, ByVal eventArgs As
System.EventArgs) Handles Timer1.Tick
' get a sample and pass it along
Dim sample As LTMMLib.IltmmMediaSampleDisp
sample = SampleTarget.GetSample(1000)
SampleSource.DeliverSample(1000, sample)
System.Runtime.InteropServices.Marshal.ReleaseComObject(sample)
End Sub
If after this you continue to have issue regarding this, please send a small sample project (not your entire application) which isolates this issue to support@leadtools.com, so that we may look into the matter further. Please also include a link referencing this forum posting, as well as a detailed description of exactly the problem you're having so that we can assist you further.
Walter Technical Support LEADTOOLS support@leadtools.com
|
|
|
|
|
Report
|
|
|
|