Replace encrypted content with black if we have no key (#2234).
[dcpomatic.git] / src / lib / content.h
index 7fad2ff792f7ea0823d7f68f542298eba87db6a0..7c02ee0e39effc323216cfc28d29da07ea63d236 100644 (file)
@@ -192,6 +192,10 @@ public:
 
        std::string calculate_digest () const;
 
+       virtual bool can_be_played () const {
+               return true;
+       }
+
        /* ChangeType::PENDING and ChangeType::CANCELLED may be emitted from any thread; ChangeType::DONE always from GUI thread */
        boost::signals2::signal<void (ChangeType, std::weak_ptr<Content>, int, bool)> Change;