mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-04-23 16:39:02 +00:00
Revert "Allow renderers to apply size and display changes seamlessly"
This reverts commit c989133d27.
This commit is contained in:
@@ -58,11 +58,6 @@ typedef struct _DECODER_PARAMETERS {
|
||||
HDR_MASTERING_METADATA hdrMetadata;
|
||||
} DECODER_PARAMETERS, *PDECODER_PARAMETERS;
|
||||
|
||||
|
||||
// Flags for applyWindowChange()
|
||||
#define WINDOW_SIZE_CHANGED 0x01
|
||||
#define WINDOW_DISPLAY_CHANGED 0x02
|
||||
|
||||
class IVideoDecoder {
|
||||
public:
|
||||
virtual ~IVideoDecoder() {}
|
||||
@@ -76,5 +71,4 @@ public:
|
||||
virtual int submitDecodeUnit(PDECODE_UNIT du) = 0;
|
||||
virtual void renderFrameOnMainThread() = 0;
|
||||
virtual void setHdrMode(bool enabled) = 0;
|
||||
virtual bool applyWindowChange(int width, int height, int flags) = 0;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user