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.h | |
| parent | c46bfb445ba467b3b262cab4e0aa808d6b4cb6a8 (diff) | |
Setup Butler::_prepare_only_proxy on construction.
Diffstat (limited to 'src/lib/butler.h')
| -rw-r--r-- | src/lib/butler.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/lib/butler.h b/src/lib/butler.h index d31442f6c..320e56bf9 100644 --- a/src/lib/butler.h +++ b/src/lib/butler.h @@ -46,7 +46,8 @@ public: std::function<AVPixelFormat (AVPixelFormat)> pixel_format, VideoRange video_range, bool aligned, - bool fast + bool fast, + bool prepare_only_proxy ); ~Butler (); @@ -80,9 +81,6 @@ public: boost::optional<TextRingBuffers::Data> get_closed_caption (); void disable_audio (); - void set_prepare_only_proxy (bool p) { - _prepare_only_proxy = p; - } std::pair<size_t, std::string> memory_used () const; |
