viewer: re-render both video and audio if parameters change

This commit is contained in:
itsmattkc
2020-02-24 11:57:39 +11:00
parent 6239107670
commit fceb1e8d3e
3 changed files with 39 additions and 7 deletions
+3
View File
@@ -36,6 +36,9 @@ public:
const PixelFormat::Format& format() const;
const RenderMode::Mode& mode() const;
bool operator==(const VideoRenderingParams& rhs) const;
bool operator!=(const VideoRenderingParams& rhs) const;
private:
void calculate_effective_size();