Remove unused property of video player

This commit is contained in:
Wojtek Figat
2024-05-13 15:03:55 +02:00
parent df086f3b3b
commit 3593f835cd
2 changed files with 1 additions and 2 deletions

View File

@@ -82,7 +82,6 @@ namespace MF
player.Width = videoArea.Area.cx; player.Width = videoArea.Area.cx;
player.Height = videoArea.Area.cy; player.Height = videoArea.Area.cy;
} }
player.AvgVideoBitRate = MFGetAttributeUINT32(mediaType, MF_MT_AVG_BITRATE, 0);
uint64_t fpsValue; uint64_t fpsValue;
hr = mediaType->GetUINT64(MF_MT_FRAME_RATE, &fpsValue); hr = mediaType->GetUINT64(MF_MT_FRAME_RATE, &fpsValue);
if (SUCCEEDED(hr)) if (SUCCEEDED(hr))

View File

@@ -32,7 +32,7 @@ struct VideoBackendPlayer
Char* DebugUrl; Char* DebugUrl;
int32 DebugUrlLen; int32 DebugUrlLen;
#endif #endif
int32 Width, Height, AvgVideoBitRate, FramesCount; int32 Width, Height, FramesCount;
int32 VideoFrameWidth, VideoFrameHeight; int32 VideoFrameWidth, VideoFrameHeight;
PixelFormat Format; PixelFormat Format;
float FrameRate; float FrameRate;