Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Wednesday, July 11, 2012 1:30:44 PM(UTC)
flaliber

Groups: Registered
Posts: 5


In the documentation of the property CurrentFramePosition of the ILMVCallback Interface it is said "It is recommended you call this property to get the current position from inside ILMVUserCallback::ReceiveProc rather than trying to get the current position from the graph or LTMM object".

Would it be possible to have one of the relevant LEADTOOLS examples (Callback or DrawOnVideo) modified to show how to do this?
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Thursday, July 12, 2012 5:40:49 AM(UTC)
Maen Hasan

Groups: Registered, Tech Support
Posts: 1,328

Was thanked: 1 time(s) in 1 post(s)

I modified the LEADTOOLS Multimedia v17.5 C# video callback demo to show the CurrentFramePosition inside ILMVUserCallback::ReceiveProc.
I am attaching the modified demo. Please check the following code in the ReceiveProc function:
+--------------------+
System.Diagnostics.Debug.WriteLine("CurrentFramePosition = " + lmvCallBkParent.CurrentFramePosition.ToString());
+--------------------+

Thanks,
Maen Badwan
LEADTOOLS Technical Support
File Attachment(s):
Callback.zip (63kb) downloaded 32 time(s).
 
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2019, Yet Another Forum.NET
This page was generated in 0.085 seconds.