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