diff options
| author | Sudhaushu <[email protected]> | 2019-08-02 09:50:31 -0700 |
|---|---|---|
| committer | Adonais Romero González <[email protected]> | 2019-08-02 09:50:31 -0700 |
| commit | 93ebc330ec53d766b460e981cf83cbdc3c6f60aa (patch) | |
| tree | cfdc072f28192a34265c8bc73cfa64175b6cb804 /avstream/avscamera/mft0/MFT0Impl.h | |
| parent | 1aa39e393c0657d7dfd5110727f3b92d20fc3187 (diff) | |
Fix Avstream sample build for older Windows versions (#393)73321
* fix build break for older windows versions
* modified to remove future changes
Diffstat (limited to 'avstream/avscamera/mft0/MFT0Impl.h')
| -rw-r--r-- | avstream/avscamera/mft0/MFT0Impl.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/avstream/avscamera/mft0/MFT0Impl.h b/avstream/avscamera/mft0/MFT0Impl.h index a73e8c0d..9427dd7d 100644 --- a/avstream/avscamera/mft0/MFT0Impl.h +++ b/avstream/avscamera/mft0/MFT0Impl.h @@ -246,7 +246,7 @@ protected: HRESULT GetPreviewMediaType( _Outptr_result_maybenull_ IMFMediaType **ppType ); - +#if (NTDDI_VERSION >= NTDDI_WINBLUE) HRESULT ProcessMetadata(); HRESULT ParseMetadata_PreviewAggregation( @@ -268,7 +268,7 @@ protected: _In_ PKSCAMERA_METADATA_ITEMHEADER pItem, _In_ IMFAttributes *pMetaDataAttributes ); - +#endif // (NTDDI_VERSION >= NTDDI_WINBLUE) HRESULT FillBufferLengthFromMediaType( _In_ IMFMediaType *pPreviewType, _Inout_ IMFMediaBuffer *pBuffer |
