diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-08-31 02:03:01 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-08-31 02:03:01 +0100 |
| commit | 2cdf3d9f461b12d0925cc54368105bbd177bbbb3 (patch) | |
| tree | e250a7fd753a4a10a47c9d0a8a67f2c6c36c1112 /src/lib/dcp_encoder.cc | |
| parent | 1f88a38a2a607c21988a403e76f315444c4be36b (diff) | |
Primitive subtitle export feature.v2.15.16
Diffstat (limited to 'src/lib/dcp_encoder.cc')
| -rw-r--r-- | src/lib/dcp_encoder.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/dcp_encoder.cc b/src/lib/dcp_encoder.cc index 99edb0050..448fc2a52 100644 --- a/src/lib/dcp_encoder.cc +++ b/src/lib/dcp_encoder.cc @@ -152,11 +152,11 @@ DCPEncoder::text (PlayerText data, TextType type, optional<DCPTextTrack> track, } } -float +optional<float> DCPEncoder::current_rate () const { if (!_j2k_encoder) { - return 0; + return optional<float>(); } return _j2k_encoder->current_encoding_rate (); |
