diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-11-09 15:05:22 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-11-18 20:51:16 +0000 |
| commit | 67705b5665715abebfdd33e9f36797f040bc3e79 (patch) | |
| tree | e76484da8e36501f48600a7760f181144b28edb0 /src/lib/filter.h | |
| parent | 61fe776a5e04044ca28e5bbd63ce746be580f29b (diff) | |
Make Filter applicable to audio or video filters.
Diffstat (limited to 'src/lib/filter.h')
| -rw-r--r-- | src/lib/filter.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/lib/filter.h b/src/lib/filter.h index 39687fcd4..b132398d0 100644 --- a/src/lib/filter.h +++ b/src/lib/filter.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2012 Carl Hetherington <cth@carlh.net> + Copyright (C) 2012-2015 Carl Hetherington <cth@carlh.net> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -18,7 +18,7 @@ */ /** @file src/filter.h - * @brief A class to describe one of FFmpeg's video or post-processing filters. + * @brief A class to describe one of FFmpeg's video or audio filters. */ #ifndef DCPOMATIC_FILTER_H @@ -29,7 +29,7 @@ #include <vector> /** @class Filter - * @brief A class to describe one of FFmpeg's video filters. + * @brief A class to describe one of FFmpeg's video or audio filters. * * We don't support FFmpeg's post-processing filters here as they cannot cope with greater than * 8bpp. FFmpeg quantizes e.g. yuv422p10le down to yuv422p before running such filters, which @@ -50,9 +50,9 @@ public: return _name; } - /** @return string for a FFmpeg video filter descriptor */ - std::string vf () const { - return _vf; + /** @return string for a FFmpeg filter descriptor */ + std::string ffmpeg () const { + return _ffmpeg; } std::string category () const { @@ -71,8 +71,8 @@ private: /** user-visible name */ std::string _name; std::string _category; - /** string for a FFmpeg video filter descriptor */ - std::string _vf; + /** string for a FFmpeg filter descriptor */ + std::string _ffmpeg; /** all available filters */ static std::vector<Filter const *> _filters; |
