Various incomplete hacks on regions / audio mapping.
[dcpomatic.git] / src / lib / playlist.h
index 5b9299795ffdc9ced4131d7c509b25970e0ee118..f677f0ad78b2f7bd7197edd22c194130539c1994 100644 (file)
@@ -1,3 +1,5 @@
+/* -*- c-basic-offset: 8; default-tab-width: 8; -*- */
+
 /*
     Copyright (C) 2013 Carl Hetherington <cth@carlh.net>
 
@@ -77,10 +79,14 @@ public:
                
                boost::shared_ptr<Content> content;
                Time time;
+               /* XXX: obviously not used for video-only; there should
+                  really by AudioRegion / VideoRegion etc.
+               */
+               AudioMapping audio_mapping;
                boost::signals2::connection connection;
        };
 
-       typedef std::vector<Region> RegionList;
+       typedef std::vector<boost::shared_ptr<Region> > RegionList;
        
        RegionList regions () const {
                return _regions;