diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-09-19 22:19:38 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-09-19 23:00:22 +0200 |
| commit | 8a3d5a7729e10a901132ff00efbd5d80e38b2455 (patch) | |
| tree | b69ad212d629626b689d688868f550fa8ce76276 /src/lib/video_content.cc | |
| parent | c162f9d8b127f56b8da46b83908000611033e6a5 (diff) | |
Remove unused VideoContentProperty::SCALE and listen to CUSTOM_{RATIO,SIZE} instead.
::SCALE was sort-of being used, as it was emitted during examination of
video content, but it wasn't being emitted anywhere else (and CUSTOM_{RATIO,SIZE}
replace its functionality as far as I can see).
Diffstat (limited to 'src/lib/video_content.cc')
| -rw-r--r-- | src/lib/video_content.cc | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/src/lib/video_content.cc b/src/lib/video_content.cc index 5686a0a6f..655b8baf6 100644 --- a/src/lib/video_content.cc +++ b/src/lib/video_content.cc @@ -43,14 +43,13 @@ int const VideoContentProperty::USE = 0; int const VideoContentProperty::SIZE = 1; int const VideoContentProperty::FRAME_TYPE = 2; int const VideoContentProperty::CROP = 3; -int const VideoContentProperty::SCALE = 4; -int const VideoContentProperty::COLOUR_CONVERSION = 5; -int const VideoContentProperty::FADE_IN = 6; -int const VideoContentProperty::FADE_OUT = 7; -int const VideoContentProperty::RANGE = 8; -int const VideoContentProperty::CUSTOM_RATIO = 9; -int const VideoContentProperty::CUSTOM_SIZE = 10; -int const VideoContentProperty::BURNT_SUBTITLE_LANGUAGE = 11; +int const VideoContentProperty::COLOUR_CONVERSION = 4; +int const VideoContentProperty::FADE_IN = 5; +int const VideoContentProperty::FADE_OUT = 6; +int const VideoContentProperty::RANGE = 7; +int const VideoContentProperty::CUSTOM_RATIO = 8; +int const VideoContentProperty::CUSTOM_SIZE = 9; +int const VideoContentProperty::BURNT_SUBTITLE_LANGUAGE = 10; using std::string; using std::setprecision; @@ -302,9 +301,8 @@ VideoContent::take_from_examiner (shared_ptr<VideoExaminer> d) auto const range = d->range (); ContentChangeSignaller cc1 (_parent, VideoContentProperty::SIZE); - ContentChangeSignaller cc2 (_parent, VideoContentProperty::SCALE); - ContentChangeSignaller cc3 (_parent, ContentProperty::LENGTH); - ContentChangeSignaller cc4 (_parent, VideoContentProperty::RANGE); + ContentChangeSignaller cc2 (_parent, ContentProperty::LENGTH); + ContentChangeSignaller cc3 (_parent, VideoContentProperty::RANGE); { boost::mutex::scoped_lock lm (_mutex); |
