summaryrefslogtreecommitdiff
path: root/src/lib/content.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-01-07 09:29:06 +0000
committerCarl Hetherington <cth@carlh.net>2014-01-07 09:29:06 +0000
commitea6240f349a27e1e8f4f03ee69640e3a2939d958 (patch)
tree5b681e232ade7707ff20c3c6864f6cb3a110a7ba /src/lib/content.cc
parent9dc4a15bf9cd11e076d35dc71041b3149128877c (diff)
Allow moving-still-image sources to have their frame rate specified.
Diffstat (limited to 'src/lib/content.cc')
-rw-r--r--src/lib/content.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/content.cc b/src/lib/content.cc
index d835a5b05..ccca46bc0 100644
--- a/src/lib/content.cc
+++ b/src/lib/content.cc
@@ -150,6 +150,10 @@ Content::set_position (Time p)
{
{
boost::mutex::scoped_lock lm (_mutex);
+ if (p == _position) {
+ return;
+ }
+
_position = p;
}