зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1524208: Compare result of BaseInputPin::Receive to S_OK; r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D19675 --HG-- extra : rebase_source : 0ab864b92552cbf63ba132844cd51f0ec493b232
This commit is contained in:
Родитель
1beb08f5b2
Коммит
8e1ddc4af1
|
@ -319,7 +319,7 @@ CaptureInputPin::Receive(IN IMediaSample* pIMediaSample) {
|
|||
reinterpret_cast<CaptureSinkFilter*>(mFilter)->LockReceive();
|
||||
hr = BaseInputPin::Receive(pIMediaSample);
|
||||
|
||||
if (SUCCEEDED(hr)) {
|
||||
if (hr == S_OK) {
|
||||
const int32_t length = pIMediaSample->GetActualDataLength();
|
||||
|
||||
unsigned char* pBuffer = NULL;
|
||||
|
|
Загрузка…
Ссылка в новой задаче