diff --git a/CloneSource.cpp b/CloneSource.cpp index 2f93c9b..1fa6470 100644 --- a/CloneSource.cpp +++ b/CloneSource.cpp @@ -203,6 +203,13 @@ void CloneSource::play (bool on) } } +bool CloneSource::playable () const +{ + if (origin_) + return origin_->playable(); + return true; +} + void CloneSource::replay() { g_timer_reset(timer_); diff --git a/CloneSource.h b/CloneSource.h index 238279d..d9e763f 100644 --- a/CloneSource.h +++ b/CloneSource.h @@ -19,7 +19,7 @@ public: void setActive (bool on) override; bool playing () const override { return !paused_; } void play (bool on) override; - bool playable () const override { return true; } + bool playable () const override; void replay () override; guint64 playtime () const override; uint texture() const override;