I love GraphEditPlus....it's a great tool

I have version 1.3.4.
I'm having a problem.
I need to Mux two sources
1) video from web cam (this is ALREADY an avi file, I'm not muxing live streaming video from web cam
2) audio wave file (also a file, and not from streaming source)
Here is my filter graph...not very fancy...

The video is horribly uncompressed...it's like 88 meg. (that is BEFORE running filter graph)
When I run from GraphEditPlus...I get beautiful results....the file is compressed + muxed with audio, down to 500k (this is because the video is mostly of static image, so compression will be very good).
I exported and tried both C++ and C# versions.
I get VFW_E_TYPE_NOT_ACCEPTED Error when connecting the two pins
XVid MPeg-4 Video Decoder <---> XVid Meg-4 Codec
(note, to get true error, I had to use DXErr.exe util, from Windows SDK)
My main issue, is that the above graph works.
The only thing I did manually in GraphEdit was to force RGB24 for xvid decoder (through property page...see below)
I used trick mentioned here
http://social.msdn.microsoft.com/Forums/en/windowsdirectshowdevelopment/thread/ae22a924-d61c-4449-b5bd-98f8eede94a4to save the filter's setting.
I loaded it, and even had the program display the property page (for verification).
But still could not get the XVid decoder to connect to the XVid Encoder. (the file is xvid encoded, but NOT compressed)
here is what I tried
// ERROR HERE
AM_MEDIA_TYPE mediaType1;
CComPtr<IPin> pInPin1 = GetPin(pXvidMPEG4VideoDecoder, L"XForm In"); <---- Get Media Type of input file
pInPin1->ConnectionMediaType(&mediaType1);
CComPtr<IPin> pOutPin = GetPin(pXvidMPEG4VideoDecoder, L"XForm Out"); <---- output pin
CComPtr<IPin> pInPin2 = GetPin(pCinepakCodecbyRadius, L"Input"); <--- input pin
hr = pOutPin->Connect(pInPin2, &mediaType1); <--- fails with VFW_E_TYPE_NOT_ACCEPTED
//HRESULT: 0x8004022a (2147746346)
//Name: VFW_E_TYPE_NOT_ACCEPTED
//Description: This pin cannot use the supplied media type.
//Severity code: Failed
//Facility Code: FACILITY_ITF (4)
//Error Code: 0x022a (554)
Here is source for program...(not large, just deals with this issue)
It also include the GRF file depicted from above
http://www.fileden.com/files/2010/2/23/2771640//Just Source.zipthis is same thing, but contains the two media files I was using in test
it's 55mb, but if anybody wanted to try this version using the media file I was using in test
then it's in this version
http://www.fileden.com/files/2010/2/23/2771640//All.zip Here is the only thing I manually did in regards to filter graph...and that was
to force RGB24 compatibility.
