Revert "Allow renderers to apply size and display changes seamlessly"

This reverts commit c989133d27.
This commit is contained in:
Cameron Gutman
2022-04-24 16:12:12 -05:00
parent c989133d27
commit 220f50ebe4
8 changed files with 15 additions and 106 deletions

View File

@@ -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;
};