diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-05-24 23:29:39 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-05-24 23:29:39 +0100 |
| commit | 92784c9c28c48859578cd6e75aa01d5657d0c341 (patch) | |
| tree | 595a34ecd2c59bf9d3dbcfa0c6f0a91b17ecfa5b /src/lib/player.cc | |
| parent | 6c78f6d31a457ad34fb14b7c926fb418b4d6790d (diff) | |
Basic ability to set video range (JPEG/MPEG) at least for YUV content. May not work for RGB. See #1509.
Diffstat (limited to 'src/lib/player.cc')
| -rw-r--r-- | src/lib/player.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/player.cc b/src/lib/player.cc index e44edd8dc..f79e379d2 100644 --- a/src/lib/player.cc +++ b/src/lib/player.cc @@ -332,6 +332,7 @@ Player::black_player_video_frame (Eyes eyes) const eyes, PART_WHOLE, PresetColourConversion::all().front().conversion, + VIDEO_RANGE_FULL, boost::weak_ptr<Content>(), boost::optional<Frame>() ) @@ -826,6 +827,7 @@ Player::video (weak_ptr<Piece> wp, ContentVideo video) video.eyes, video.part, piece->content->video->colour_conversion(), + piece->content->video->range(), piece->content, video.frame ) |
