summaryrefslogtreecommitdiff
path: root/src/lib/dcp_content.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-10-14 23:38:16 +0100
committerCarl Hetherington <cth@carlh.net>2016-10-14 23:38:16 +0100
commit8726c70cc1b14dc996c18670cdcda0b4d670605e (patch)
treead1b6f02f366c3c0aec275cf4b6fb6e0f8050402 /src/lib/dcp_content.h
parent19a66e2230f56cb84c17d1b00d34f2849f36f3e2 (diff)
Update content list when selected CPL changes in DCP content.
Diffstat (limited to 'src/lib/dcp_content.h')
-rw-r--r--src/lib/dcp_content.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/dcp_content.h b/src/lib/dcp_content.h
index 21b654c96..1212b8b0f 100644
--- a/src/lib/dcp_content.h
+++ b/src/lib/dcp_content.h
@@ -37,6 +37,7 @@ public:
static int const REFERENCE_VIDEO;
static int const REFERENCE_AUDIO;
static int const REFERENCE_SUBTITLE;
+ static int const NAME;
};
class ContentPart;
@@ -135,6 +136,11 @@ private:
std::list<std::string>& why_not
) const;
+ std::string name () const {
+ boost::mutex::scoped_lock lm (_mutex);
+ return _name;
+ }
+
std::string _name;
/** true if our DCP is encrypted */
bool _encrypted;