Показать сообщение отдельно
  #3  
Старый 07.12.2011, 08:13
flaunder flaunder вне форума
Прохожий
 
Регистрация: 05.12.2011
Сообщения: 7
Репутация: 10
По умолчанию

спасибо администратору, который удалил весь второй листинг))
Код:
// берем пины
  pAVIspliterOutV := GetPin(pAVIspliter, PINDIR_OUTPUT);
  if not Assigned(pAVIspliterOutV) then begin
    ShowMessage('Не удается получить pAVIspliterOutV');
    exit;
  end;

  pVideodecoderIn := GetPin(pVideodecoder, PINDIR_INPUT);
  if not Assigned(pVideodecoderIn) then begin
    ShowMessage('Не удается получить pVideodecoderIn');
    exit;
  end;

  pAudiodecoderIn := GetPin(pAudiodecoder, PINDIR_INPUT);
  if not Assigned(pAudiodecoderIn) then begin
    ShowMessage('Не удается получить pAudiodecoderIn');
    exit;
  end;

  // соединяем
  hr := pGraphBuilder.Connect(pAVIspliterOutV, pVideodecoderIn);
  if FAILED(hr) then begin
    ShowMessage('Не удается соединить фильтры pAVIspliterOutV и pVideodecoderIn');
    exit;
  end;
  hr := pGraphBuilder.Connect(pAVIspliterOutV, pAudiodecoderIn);
  if FAILED(hr) then begin
    ShowMessage('Не удается соединить фильтры pAVIspliterOutV и pAudiodecoderIn');
    exit;
  end;
вот здесь должно быть выделено)
Ответить с цитированием