mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-10-25 13:31:41 +00:00
Revert "Allow renderers to apply size and display changes seamlessly"
This reverts commit c989133d27.
This commit is contained in:
1 parent
c989133d27
commit
220f50ebe4
8 files changed
+15
-106
No files matched your search
@@ -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