Re[2]: mpeg2->свой формат(сохранение видео и аудио кадра)
От: Ulin США  
Дата: 06.07.05 14:10
Оценка:
Здравствуйте, <Аноним>, Вы писали:

А>тихо сам с собой веду беседу


А>может кто подскажет физический смысл следующей команды(я не догоняю)


А>
А> ...
А> CComPtr< IBaseFilter>   m_pCompressor;
А> // получили компрессор
А> ...

А> CComPtr<IPin> pCompressorIn     = GetInPin (m_pCompressor, 0);
А> CComPtr< IPin > pOtherPin;

А> pCompressorIn->ConnectedTo(&pOtherPin); // не понимаю, что значит соединить один пин с ничем не привязанным другим пином       
А>


The ConnectedTo method retrieves a pointer to the connected pin, if any. This method implements the IPin::ConnectedTo method.

Syntax

HRESULT ConnectedTo(
IPin **ppPin
);

Parameters

ppPin

Address of a variable that receives a pointer to the IPin interface of the other pin.

Return Value

Returns an HRESULT value. Possible values include those in the following table.

... << RSDN@Home 1.1.4 beta 7 rev. 447>>
 
Подождите ...
Wait...
Пока на собственное сообщение не было ответов, его можно удалить.