[Matroska-users] Re: Muxer Directshow Interface

Mike Matsnev mike at po.cs.msu.su
Sun Nov 19 00:11:54 CET 2006

> I didnt any document which can provide me help on Matroska Muxer in
> driectshow , I need to what are interfaces it expose 2nd when when
> try to compile following code it ends up with error plz help .

> 				IBaseFilter *pMatroskaMuxer;
> 				hr = AddFilterByCLSID(pGraph, CLSID_MatroskaMux, L"Matroska Muxer", &pMatroskaMuxer);
> 				if (!SUCCEEDED(hr))
> 				{
> 					pMatroskaMuxer->Release();
> 				}
You should call Release only if the call succeeded. Other than that it's impossible to suggest anything without seeing the compiler error messages.

More information about the Matroska-users mailing list