Infognition forum
August 01, 2010, 06:46:43 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Last GraphEditPlus version: 1.4.0   Last Video Enhancer version: 1.9.3
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: GetEvent error  (Read 778 times)
danz
Newbie
*

Karma: +0/-0
Posts: 1


View Profile
« on: March 09, 2009, 09:07:24 PM »

I am running a graph with the wm asf writer. I get the following event codes:

GraphChanged
GraphChanged
GraphChanged
GraphChanged
ClockChanged

then mediaaEvent.getEvent returns -2147467260 instead of 0.
I checked and the graph is still running, and continues to render the file. I must stop the graph manually though and the file created is not seekable.

Has anyone run into this and found a fix?

Thanks!

Logged
Dee Mon
Administrator
Sr. Member
*****

Karma: +7/-0
Posts: 271



View Profile WWW
« Reply #1 on: March 10, 2009, 02:32:06 PM »

-2147467260 is 0x80004004 i.e. E_ABORT: Timeout expired.
What timeout do you set in getEvent? If it's a finite value, just continue your loop and do getEvent again. If you don't need a loop, just pass INFINITE (-1) as timeout value.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.5 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!