summaryrefslogtreecommitdiff
path: root/src/lib/player_video.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-11-06 22:25:48 +0000
committerCarl Hetherington <cth@carlh.net>2018-11-06 22:25:48 +0000
commite5b744922fb6aed65ec13f22a9de0c86dd1bd561 (patch)
treeafdb5ca70f017a84e69a12deb328f2e758cb6166 /src/lib/player_video.cc
parent24fbd3513614dba8f2e5ac16b86576d39f1dc6c0 (diff)
Remove some unused parameters.
Diffstat (limited to 'src/lib/player_video.cc')
-rw-r--r--src/lib/player_video.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/player_video.cc b/src/lib/player_video.cc
index ec8dd16d4..376ace128 100644
--- a/src/lib/player_video.cc
+++ b/src/lib/player_video.cc
@@ -103,7 +103,6 @@ PlayerVideo::set_text (PositionImage image)
}
/** Create an image for this frame.
- * @param note Handler for any notes that are made during the process.
* @param pixel_format Function which is called to decide what pixel format the output image should be;
* it is passed the pixel format of the input image from the ImageProxy, and should return the desired
* output pixel format. Two functions always_rgb and keep_xyz_or_rgb are provided for use here.
@@ -111,9 +110,9 @@ PlayerVideo::set_text (PositionImage image)
* @param fast true to be fast at the expense of quality.
*/
shared_ptr<Image>
-PlayerVideo::image (optional<dcp::NoteHandler> note, function<AVPixelFormat (AVPixelFormat)> pixel_format, bool aligned, bool fast) const
+PlayerVideo::image (function<AVPixelFormat (AVPixelFormat)> pixel_format, bool aligned, bool fast) const
{
- pair<shared_ptr<Image>, int> prox = _in->image (optional<dcp::NoteHandler> (note), _inter_size);
+ pair<shared_ptr<Image>, int> prox = _in->image (_inter_size);
shared_ptr<Image> im = prox.first;
int const reduce = prox.second;