summaryrefslogtreecommitdiff
path: root/src/reel.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/reel.cc')
-rw-r--r--src/reel.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/reel.cc b/src/reel.cc
index 3f077269..4a266fda 100644
--- a/src/reel.cc
+++ b/src/reel.cc
@@ -80,3 +80,9 @@ Reel::equals (boost::shared_ptr<const Reel> other, EqualityOptions opt, boost::f
return true;
}
+bool
+Reel::encrypted () const
+{
+ return ((_main_picture && _main_picture->encrypted ()) || (_main_sound && _main_sound->encrypted ()));
+}
+