mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-06-17 14:11:33 +00:00
Revert "Allow renderers to apply size and display changes seamlessly"
This reverts commit c989133d27.
This commit is contained in:
@@ -167,12 +167,6 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
virtual bool applyWindowChange(int, int, int) {
|
||||
// By default, we cannot apply any changes. The renderer
|
||||
// will be recreated after any window change.
|
||||
return false;
|
||||
}
|
||||
|
||||
virtual AVPixelFormat getPreferredPixelFormat(int videoFormat) {
|
||||
if (videoFormat == VIDEO_FORMAT_H265_MAIN10) {
|
||||
// 10-bit YUV 4:2:0
|
||||
|
||||
Reference in New Issue
Block a user