Infognition forum
August 01, 2010, 06:54:12 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: Is there a way to abort an infinite search for "Intelligent Connect"?  (Read 596 times)
JamieFaye
Newbie
*

Karma: +0/-0
Posts: 6


View Profile
« on: May 21, 2009, 09:15:54 PM »

Intelligent Connect is, of course, an oxymoron. Sometimes I accidentally put it in a round room and tell it to sit in the corner, and it just runs around in circles, taking minutes, hours, or sometimes forever to give up. I know this is due to flaws in the DirectShow architecture where it uses a naive backtracking search routine which has exponential complexity.

Can we come up with a "abort search key" that kills the search thread so I can recover my half-built graph.  Another option is a time-out setting.

A related issue is graphs taking a long time/forver to stop. I can't remember how GE+ handles that, but if you are working on the main problem, you might want to fix any of the other notorious hangs that plague all 4 FilterGraph editors.

Your changes that enhance error resilience during execution seem to be helping, by the way.
Logged
Dee Mon
Administrator
Sr. Member
*****

Karma: +7/-0
Posts: 271



View Profile WWW
« Reply #1 on: May 22, 2009, 01:31:28 PM »

I don't see a way to cancel such operation from the same thread. I could run a new thread for each render/connect/stop operation and kill it by request, but it's hardly possible to have the graph in a sane state after such rude cancellation. Most probably internal DirectShow structures will get screwed and random bugs will pop up.
I think I can make it as an experimental feature so you could play with it and see if it helps.

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!