Fix software upload for DRM renderer with non-720p resolutions
The buffer allocated for the 720p test frame was left around and we would attempt to reuse it even if the stream had frames of a different size.
This commit is contained in:
parent
4a547eb05e
commit
80ddd5ba13
2 changed files with 31 additions and 1 deletions
|
|
@ -682,6 +682,10 @@ private:
|
|||
SwFrameMapper m_SwFrameMapper;
|
||||
int m_CurrentSwFrameIdx;
|
||||
struct {
|
||||
int width;
|
||||
int height;
|
||||
uint32_t format;
|
||||
|
||||
uint32_t handle;
|
||||
uint32_t pitch;
|
||||
uint64_t size;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue