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

This reverts commit c989133d27.
This commit is contained in:
Cameron Gutman committed 2022-04-24 16:12:12 -05:00
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