D
dregs2003
Unregistered / Unconfirmed
GUEST, unregistred user!
IMediaSample.GetPointer(DestBuffer);
CopyMemory(Destbuffer, SourceBuffer, SizeOf(Sourcebuffer));
IAsyncReader.SyncReadAligned(IMediaSample);
if Failed(IAsyncReader.QueryInterface(IbaseFilter,BaseFilter)) then
Exit;
FilterGraph.AddFilter(BaseFilter,'Stream');
if Succeeded(BaseFilter.EnumPins(Pins)) then
While Succeeded(Pins.Next(1, Pin, Addr(dsFetched)))do
begin
Pin.QueryPinInfo(PinInfo);
ShowMessage(PinInfo.achName);
g_pGraphBuilder.Render(Pin);
end;
然而程序无法获得PIN针脚,请高手指点一下,另还需使用IMEMInputPin接口,有谁对这方面比较了解的希望
能给予指教,我的邮箱是:dregs@etang.com
QQ:15375660
CopyMemory(Destbuffer, SourceBuffer, SizeOf(Sourcebuffer));
IAsyncReader.SyncReadAligned(IMediaSample);
if Failed(IAsyncReader.QueryInterface(IbaseFilter,BaseFilter)) then
Exit;
FilterGraph.AddFilter(BaseFilter,'Stream');
if Succeeded(BaseFilter.EnumPins(Pins)) then
While Succeeded(Pins.Next(1, Pin, Addr(dsFetched)))do
begin
Pin.QueryPinInfo(PinInfo);
ShowMessage(PinInfo.achName);
g_pGraphBuilder.Render(Pin);
end;
然而程序无法获得PIN针脚,请高手指点一下,另还需使用IMEMInputPin接口,有谁对这方面比较了解的希望
能给予指教,我的邮箱是:dregs@etang.com
QQ:15375660