MF type "IMFMediaType" is found in mfobjects.h header file but the application is unable to see it and I get a compile error.

  • Thread starter Thread starter MyCatAlex
  • Start date Start date
M

MyCatAlex

Guest
I need to streamline a C++ application MFCaptureD3D found in Github. Line 79 in device.cpp file has this statement

HRESULT GetDefaultStride(IMFMediaType *pType, LONG *plStride);

and IMFMediaType is highlighted by red underscore even before the compilation. I found this type in mfobjects.h header file, again in Github. It is an enormous file (4,036 lines) and i included it in the project MFCaptureD3D. IMFMediaType is still being highlighted. What is the problem?

Thanks, -MyCatAlex

Continue reading...
 
Back
Top