diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-09-14 01:36:38 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-09-27 13:41:46 +0200 |
| commit | 6cac49dc50dae6b173135df101d532f20031ca70 (patch) | |
| tree | fe5a4fb85f89795d9501426dd6d06bada3859b6d /src/lib/butler.cc | |
| parent | c46bfb445ba467b3b262cab4e0aa808d6b4cb6a8 (diff) | |
Setup Butler::_prepare_only_proxy on construction.
Diffstat (limited to 'src/lib/butler.cc')
| -rw-r--r-- | src/lib/butler.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/butler.cc b/src/lib/butler.cc index cbd5ba15d..ca0887a4c 100644 --- a/src/lib/butler.cc +++ b/src/lib/butler.cc @@ -68,7 +68,8 @@ Butler::Butler ( function<AVPixelFormat (AVPixelFormat)> pixel_format, VideoRange video_range, bool aligned, - bool fast + bool fast, + bool prepare_only_proxy ) : _film (film) , _player (player) @@ -85,6 +86,7 @@ Butler::Butler ( , _video_range (video_range) , _aligned (aligned) , _fast (fast) + , _prepare_only_proxy (prepare_only_proxy) { _player_video_connection = _player->Video.connect (bind (&Butler::video, this, _1, _2)); _player_audio_connection = _player->Audio.connect (bind (&Butler::audio, this, _1, _2, _3)); |
