summaryrefslogtreecommitdiff
path: root/src/lib/decoder.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-04-25 23:16:29 +0200
committerCarl Hetherington <cth@carlh.net>2025-04-25 23:16:29 +0200
commit039ade24cfcdfacd9c68143832161a883a3ea2ef (patch)
tree318b90f565104d5f639b068e7395b50f558acaf8 /src/lib/decoder.cc
parent4803d2339a953f78b898f1c56c5c4f232f34ea8c (diff)
White space: decoder.{cc,h}
Diffstat (limited to 'src/lib/decoder.cc')
-rw-r--r--src/lib/decoder.cc18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/lib/decoder.cc b/src/lib/decoder.cc
index 5d1915128..7088a25d1 100644
--- a/src/lib/decoder.cc
+++ b/src/lib/decoder.cc
@@ -34,8 +34,8 @@ using std::weak_ptr;
using namespace dcpomatic;
-Decoder::Decoder (weak_ptr<const Film> film)
- : WeakConstFilm (film)
+Decoder::Decoder(weak_ptr<const Film> film)
+ : WeakConstFilm(film)
{
}
@@ -43,7 +43,7 @@ Decoder::Decoder (weak_ptr<const Film> film)
/** @return Earliest time of content that the next pass() will emit */
ContentTime
-Decoder::position () const
+Decoder::position() const
{
optional<ContentTime> pos;
auto f = film();
@@ -76,24 +76,24 @@ Decoder::position () const
void
-Decoder::seek (ContentTime, bool)
+Decoder::seek(ContentTime, bool)
{
if (video) {
- video->seek ();
+ video->seek();
}
if (audio) {
- audio->seek ();
+ audio->seek();
}
for (auto i: text) {
- i->seek ();
+ i->seek();
}
}
shared_ptr<TextDecoder>
-Decoder::only_text () const
+Decoder::only_text() const
{
- DCPOMATIC_ASSERT (text.size() < 2);
+ DCPOMATIC_ASSERT(text.size() < 2);
if (text.empty()) {
return {};
}