diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-05-15 22:15:05 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-05-15 22:15:05 +0200 |
| commit | 0ea7ba49351ffd5f944c000ba581a1fcd032efb7 (patch) | |
| tree | 127fb06705512b49ab439cfa723c1d53034f7dab /src/lib/player.cc | |
| parent | 96107588e0ddf383d21ff00b4d3febb313e43794 (diff) | |
Improve the clarity of some log messages.
Diffstat (limited to 'src/lib/player.cc')
| -rw-r--r-- | src/lib/player.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/player.cc b/src/lib/player.cc index f3d78ab32..94bb80779 100644 --- a/src/lib/player.cc +++ b/src/lib/player.cc @@ -916,7 +916,11 @@ Player::video (weak_ptr<Piece> weak_piece, ContentVideo video) /* Time of the first frame we will emit */ DCPTime const time = content_video_to_dcp (piece, video.frame); - LOG_DEBUG_PLAYER("Received video frame %1 at %2", video.frame, to_string(time)); + if (video.eyes == Eyes::BOTH) { + LOG_DEBUG_PLAYER("Received video frame %1 at %2", video.frame, to_string(time)); + } else { + LOG_DEBUG_PLAYER("Received video frame %1 %2 at %3", (video.eyes == Eyes::LEFT ? "L" : "R"), video.frame, to_string(time)); + } /* Discard if it's before the content's period or the last accurate seek. We can't discard if it's after the content's period here as in that case we still need to fill any gap between |
