diff --git a/Source/Engine/Video/MF/VideoBackendMF.cpp b/Source/Engine/Video/MF/VideoBackendMF.cpp index 1aa623502..0fb52b765 100644 --- a/Source/Engine/Video/MF/VideoBackendMF.cpp +++ b/Source/Engine/Video/MF/VideoBackendMF.cpp @@ -82,7 +82,6 @@ namespace MF player.Width = videoArea.Area.cx; player.Height = videoArea.Area.cy; } - player.AvgVideoBitRate = MFGetAttributeUINT32(mediaType, MF_MT_AVG_BITRATE, 0); uint64_t fpsValue; hr = mediaType->GetUINT64(MF_MT_FRAME_RATE, &fpsValue); if (SUCCEEDED(hr)) diff --git a/Source/Engine/Video/Types.h b/Source/Engine/Video/Types.h index 5113b00d8..1f5c36cce 100644 --- a/Source/Engine/Video/Types.h +++ b/Source/Engine/Video/Types.h @@ -32,7 +32,7 @@ struct VideoBackendPlayer Char* DebugUrl; int32 DebugUrlLen; #endif - int32 Width, Height, AvgVideoBitRate, FramesCount; + int32 Width, Height, FramesCount; int32 VideoFrameWidth, VideoFrameHeight; PixelFormat Format; float FrameRate;