summaryrefslogtreecommitdiff
path: root/src/lib/player.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-01-19 00:26:27 +0000
committerCarl Hetherington <cth@carlh.net>2015-01-19 00:26:27 +0000
commit54c0378137091de604b8c0d6d98959b55b0cddb6 (patch)
treebc591c0e59c5cc2ba1054c1fcc612bf73e8d6eaf /src/lib/player.h
parent5282bd42dbe7f9c114abc6f648cb65ef52c35cf4 (diff)
Fix audio analysis; make sure we don't decode video and let it pile up unwanted.
Diffstat (limited to 'src/lib/player.h')
-rw-r--r--src/lib/player.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/player.h b/src/lib/player.h
index b283481e2..01439a26f 100644
--- a/src/lib/player.h
+++ b/src/lib/player.h
@@ -93,6 +93,7 @@ public:
void set_video_container_size (dcp::Size);
void set_approximate_size ();
+ void set_ignore_video ();
PlayerStatistics const & statistics () const;
@@ -157,6 +158,8 @@ private:
boost::shared_ptr<Image> _black_image;
bool _approximate_size;
+ /** true if the player should ignore all video; i.e. never produce any */
+ bool _ignore_video;
PlayerStatistics _statistics;