Infognition forum
August 01, 2010, 06:52:45 AM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
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
Infognition forum
>
DirectShow programming
>
GraphEditPlus
>
GetPin not working
Pages: [
1
]
« previous
next »
Print
Author
Topic: GetPin not working (Read 182 times)
csd-gw
Newbie
Karma: +0/-0
Posts: 1
GetPin not working
«
on:
March 16, 2010, 04:59:03 PM »
As a new user to GraphEditPlus, I have asked GEP to render a wave file and it built a very simple graph
using 'WaveParser', and plays the file fine within GEP.
I generate the C++ code and import it into Borland C++ builder (console app)
I need to change the (deprecated) POSIX wcsicmp to _wcsicmp to enable compiling.
When run I get the output:
Building graph...
Pin not found!
Pin not found!
Error 80004003: Cant connect FileSource (Async.) and Wave Parser
Invalid pointer
When GetPin is called looking for 'input pin' of the WaveParser, only one pin is tested,
but pinfo.achName is empty (""). (Similarly when looking for "Output" on the FileSourceAsync).
I don't think that the cange from the POSIX function is the issue, as when I inspect pinfo.achName
I don't see the expected name.
What should I try?
CSD
Logged
mdortiz
Newbie
Karma: +0/-0
Posts: 5
Re: GetPin not working
«
Reply #1 on:
March 17, 2010, 09:49:20 PM »
Try using the full path to the file, maybe it can't find it?
Did you modify c++ code? (other than the one you mention)
Check for NULL pointers...
Error 80004003 =
HRESULT: 0x80004003 (2147500035)
Name: E_POINTER
Description: Invalid pointer
Severity code: Failed
Facility Code: FACILITY_NULL (0)
Error Code: 0x4003 (16387)
Logged
Dee Mon
Administrator
Sr. Member
Karma: +7/-0
Posts: 271
Re: GetPin not working
«
Reply #2 on:
March 19, 2010, 09:43:46 AM »
If you want to render a file you don't need to build the graph manually. You can just use IGraphBuilder::RenderFile().
If you need to build it manually, you can use IGraphBuilder::AddSourceFilter() and ICaptureGraphBuilder2::RenderStream(), the system will insert proper parsers automatically.
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Video Processing
-----------------------------
=> Video Enhancer
=> Filters and codecs
=> Screen Capture
=> General Discussion
-----------------------------
DirectShow programming
-----------------------------
=> GraphEditPlus
=> General Discussion
Loading...