renderer/viewer: fixed playback and live updates from value changes

This commit is contained in:
itsmattkc
2020-05-15 15:02:30 +10:00
parent 8795e51452
commit 2039067fdc
17 changed files with 146 additions and 148 deletions
-9
View File
@@ -99,15 +99,6 @@ void ViewerOutput::InvalidateCache(const TimeRange &range, NodeInput *from, Node
Node::InvalidateCache(range, from, source);
}
void ViewerOutput::InvalidateVisible(NodeInput* from, NodeInput *source)
{
if (from == texture_input()) {
emit VisibleInvalidated(source);
}
Node::InvalidateVisible(from, source);
}
void ViewerOutput::set_video_params(const VideoParams &video)
{
video_params_ = video;
-3
View File
@@ -63,7 +63,6 @@ public:
}
virtual void InvalidateCache(const TimeRange &range, NodeInput *from, NodeInput* source) override;
virtual void InvalidateVisible(NodeInput *from, NodeInput* source) override;
const VideoParams& video_params() const {
return video_params_;
@@ -115,8 +114,6 @@ signals:
void GraphChangedFrom(NodeInput* source);
void VisibleInvalidated(NodeInput* source);
void LengthChanged(const rational& length);
void SizeChanged(int width, int height);