// Copyright Epic Games, Inc. All Rights Reserved. #include "libav_Decoder_H265.h" /***************************************************************************************************************************************************/ #if WITH_LIBAV extern "C" { #include } bool ILibavDecoderH265::IsAvailable() { return ILibavDecoderVideoCommon::IsAvailable(AV_CODEC_ID_HEVC); } TSharedPtr ILibavDecoderH265::Create(ILibavDecoderVideoResourceAllocator* InVideoResourceAllocator, const TMap& InOptions) { return ILibavDecoderVideoCommon::Create(AV_CODEC_ID_HEVC, InVideoResourceAllocator, InOptions); } #else bool ILibavDecoderH265::IsAvailable() { // Call common method to have it print an appropriate not-available message. ILibavDecoder::LogLibraryNeeded(); return false; } TSharedPtr ILibavDecoderH265::Create(ILibavDecoderVideoResourceAllocator* InVideoResourceAllocator, const TMap& InOptions) { return nullptr; } #endif