projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
772c247
)
Update for libdcp changes.
author
Carl Hetherington
<cth@carlh.net>
Sat, 10 Jan 2015 00:46:17 +0000
(
00:46
+0000)
committer
Carl Hetherington
<cth@carlh.net>
Sat, 10 Jan 2015 00:46:17 +0000
(
00:46
+0000)
src/lib/content_subtitle.cc
patch
|
blob
|
history
diff --git
a/src/lib/content_subtitle.cc
b/src/lib/content_subtitle.cc
index 39becf943c7dfa84053ccbba39f2b7bf82f964d8..c4cfafad5bf99f243e0a63bc6ef579ba69018826 100644
(file)
--- a/
src/lib/content_subtitle.cc
+++ b/
src/lib/content_subtitle.cc
@@
-25,7
+25,7
@@
ContentTextSubtitle::period () const
/* XXX: assuming we have some subs and they are all at the same time */
DCPOMATIC_ASSERT (!subs.empty ());
return ContentTimePeriod (
- ContentTime::from_seconds (
double (subs.front().in().to_ticks()) / 250
),
- ContentTime::from_seconds (
double (subs.front().out().to_ticks()) / 250
)
+ ContentTime::from_seconds (
subs.front().in().to_seconds()
),
+ ContentTime::from_seconds (
subs.front().out().to_seconds()
)
);
}