projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6680847
)
Cleanup variable name: k -> reel
author
Carl Hetherington
<cth@carlh.net>
Tue, 2 Nov 2021 14:07:53 +0000
(15:07 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Thu, 4 Nov 2021 10:45:35 +0000
(11:45 +0100)
src/lib/player.cc
patch
|
blob
|
history
diff --git
a/src/lib/player.cc
b/src/lib/player.cc
index 5404dfac4bd3fb9d51b721e83669c5ff0cbc8e1a..2669b350fb694e7085bd468eb5904f21fb047bb8 100644
(file)
--- a/
src/lib/player.cc
+++ b/
src/lib/player.cc
@@
-582,9
+582,9
@@
Player::get_reel_assets ()
int64_t offset_from_start = 0;
/* position i the asset from the end */
int64_t offset_from_end = 0;
int64_t offset_from_start = 0;
/* position i the asset from the end */
int64_t offset_from_end = 0;
- for (auto
k
: decoder->reels()) {
+ for (auto
reel
: decoder->reels()) {
/* Assume that main picture duration is the length of the reel */
/* Assume that main picture duration is the length of the reel */
- offset_from_end +=
k
->main_picture()->actual_duration();
+ offset_from_end +=
reel
->main_picture()->actual_duration();
}
for (auto reel: decoder->reels()) {
}
for (auto reel: decoder->reels()) {