Remove unused property of video player
This commit is contained in:
@@ -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))
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user