yuanjianjiang / doubango

Automatically exported from code.google.com/p/doubango
0 stars 0 forks source link

pluginWinMF cannot work successfully,because MFUtils::ResolveTopology return S_FALSE #336

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.First Run a Boghe instance,called BogheA.

2.Then F5 to debug another Boghe(version184) instance on VS2010 platform,called 
BogheB.after BogheB "sign in",place a breakpoint at the beginning of line 404( 
in plugin_win_mf_producer_video.cxx.the code is " CHECK_HR(hr = 
MFUtils::ResolveTopology(pTopology, &pSelf->pTopology)); ".and the annotate is 
" Resolve topology (adds video processors if needed). ") 

3.BogheA "Video Call" BogheB,BogheB answer the request.BogheB arrive at the 
breakpoint placed in step 2. Then F11 run into the function 
MFUtils::ResolveTopology.then F10,in this 
function,MFCreateTopoLoader(&pTopoLoader) will get S_OK.but  pTopoLoader->Load 
return S_FALSE.

4.In the function(MFUtils::ResolveTopology),after line of "pTopoLoader->Load"( 
means CHECK_HR(hr = pTopoLoader->Load(pInputTopo, ppOutputTopo, 
pCurrentTopo));) ,I added a line (unsigned long tempLong=hr;),and i got the 
tempLong equals 0xC00D5213L when debug .In the file(Microsoft 
SDKs\Windows\v7.0A\include\Mferror.h),debug a macro(#define 
MF_E_TOPO_CANNOT_CONNECT _HRESULT_TYPEDEF_(0xC00D5213L)). but i donnot know why 
cannot connect. should i fisrt register any dll?

What is the expected output? What do you see instead?
 I expect that pluginWinMF can work successfully like directshow. although pluginWinMF now just conusme the remote video but not produce local video ,because IMFTopoLoader::Load cannot return S_OK.

What version of the product are you using? On what operating system?
 Boghe184 is the prefered version,but not work successfully. while  neither boghe164 or boghe186 is ok.
 Win7 is the os,and VS2010 is the develop tool.

Please provide any additional information below.
 thanks!!!

Original issue reported on code.google.com by hithanky...@gmail.com on 6 Jan 2014 at 3:11

GoogleCodeExporter commented 9 years ago
Try with latest revision

Original comment by boss...@yahoo.fr on 23 Apr 2014 at 8:24