diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-06-19 09:25:33 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-06-19 09:25:33 +0100 |
| commit | 53eea12d3e0d7925d5949de92859bc358ee0adcc (patch) | |
| tree | af933c37720c0c68f4911b73fb22e289da990682 /src/lib | |
| parent | dfce73ef2de0d912507a0d7819f8b469202852f5 (diff) | |
No-op; variable renaming.
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/analyse_audio_job.cc | 4 | ||||
| -rw-r--r-- | src/lib/audio_content.cc | 20 | ||||
| -rw-r--r-- | src/lib/content.cc | 20 | ||||
| -rw-r--r-- | src/lib/dcp_content.cc | 20 | ||||
| -rw-r--r-- | src/lib/dcp_content.h | 4 | ||||
| -rw-r--r-- | src/lib/encoder.cc | 4 | ||||
| -rw-r--r-- | src/lib/encoder.h | 2 | ||||
| -rw-r--r-- | src/lib/examine_content_job.cc | 4 | ||||
| -rw-r--r-- | src/lib/ffmpeg_content.cc | 30 | ||||
| -rw-r--r-- | src/lib/image_content.cc | 12 | ||||
| -rw-r--r-- | src/lib/job.cc | 4 | ||||
| -rw-r--r-- | src/lib/player.cc | 6 | ||||
| -rw-r--r-- | src/lib/scp_dcp_job.cc | 6 | ||||
| -rw-r--r-- | src/lib/send_kdm_email_job.cc | 4 | ||||
| -rw-r--r-- | src/lib/single_stream_audio_content.cc | 18 | ||||
| -rw-r--r-- | src/lib/single_stream_audio_content.h | 2 | ||||
| -rw-r--r-- | src/lib/sndfile_content.cc | 12 | ||||
| -rw-r--r-- | src/lib/subtitle_content.cc | 16 | ||||
| -rw-r--r-- | src/lib/transcode_job.cc | 6 | ||||
| -rw-r--r-- | src/lib/transcode_job.h | 4 | ||||
| -rw-r--r-- | src/lib/transcoder.cc | 10 | ||||
| -rw-r--r-- | src/lib/video_content.cc | 20 | ||||
| -rw-r--r-- | src/lib/writer.cc | 4 |
23 files changed, 116 insertions, 116 deletions
diff --git a/src/lib/analyse_audio_job.cc b/src/lib/analyse_audio_job.cc index 4282cd66f..3dd15ac27 100644 --- a/src/lib/analyse_audio_job.cc +++ b/src/lib/analyse_audio_job.cc @@ -36,8 +36,8 @@ using boost::dynamic_pointer_cast; int const AnalyseAudioJob::_num_points = 1024; -AnalyseAudioJob::AnalyseAudioJob (shared_ptr<const Film> f) - : Job (f) +AnalyseAudioJob::AnalyseAudioJob (shared_ptr<const Film> film) + : Job (film) , _done (0) , _samples_per_point (1) , _overall_peak (0) diff --git a/src/lib/audio_content.cc b/src/lib/audio_content.cc index 46b80a21c..e1f435f49 100644 --- a/src/lib/audio_content.cc +++ b/src/lib/audio_content.cc @@ -46,39 +46,39 @@ int const AudioContentProperty::AUDIO_STREAMS = 200; int const AudioContentProperty::AUDIO_GAIN = 201; int const AudioContentProperty::AUDIO_DELAY = 202; -AudioContent::AudioContent (shared_ptr<const Film> f) - : Content (f) +AudioContent::AudioContent (shared_ptr<const Film> film) + : Content (film) , _audio_gain (0) , _audio_delay (Config::instance()->default_audio_delay ()) { } -AudioContent::AudioContent (shared_ptr<const Film> f, DCPTime s) - : Content (f, s) +AudioContent::AudioContent (shared_ptr<const Film> film, DCPTime s) + : Content (film, s) , _audio_gain (0) , _audio_delay (Config::instance()->default_audio_delay ()) { } -AudioContent::AudioContent (shared_ptr<const Film> f, boost::filesystem::path p) - : Content (f, p) +AudioContent::AudioContent (shared_ptr<const Film> film, boost::filesystem::path p) + : Content (film, p) , _audio_gain (0) , _audio_delay (Config::instance()->default_audio_delay ()) { } -AudioContent::AudioContent (shared_ptr<const Film> f, cxml::ConstNodePtr node) - : Content (f, node) +AudioContent::AudioContent (shared_ptr<const Film> film, cxml::ConstNodePtr node) + : Content (film, node) { _audio_gain = node->number_child<float> ("AudioGain"); _audio_delay = node->number_child<int> ("AudioDelay"); } -AudioContent::AudioContent (shared_ptr<const Film> f, vector<shared_ptr<Content> > c) - : Content (f, c) +AudioContent::AudioContent (shared_ptr<const Film> film, vector<shared_ptr<Content> > c) + : Content (film, c) { shared_ptr<AudioContent> ref = dynamic_pointer_cast<AudioContent> (c[0]); DCPOMATIC_ASSERT (ref); diff --git a/src/lib/content.cc b/src/lib/content.cc index 9a7cb0f34..2ee660b7f 100644 --- a/src/lib/content.cc +++ b/src/lib/content.cc @@ -48,8 +48,8 @@ int const ContentProperty::LENGTH = 402; int const ContentProperty::TRIM_START = 403; int const ContentProperty::TRIM_END = 404; -Content::Content (shared_ptr<const Film> f) - : _film (f) +Content::Content (shared_ptr<const Film> film) + : _film (film) , _position (0) , _trim_start (0) , _trim_end (0) @@ -58,8 +58,8 @@ Content::Content (shared_ptr<const Film> f) } -Content::Content (shared_ptr<const Film> f, DCPTime p) - : _film (f) +Content::Content (shared_ptr<const Film> film, DCPTime p) + : _film (film) , _position (p) , _trim_start (0) , _trim_end (0) @@ -68,8 +68,8 @@ Content::Content (shared_ptr<const Film> f, DCPTime p) } -Content::Content (shared_ptr<const Film> f, boost::filesystem::path p) - : _film (f) +Content::Content (shared_ptr<const Film> film, boost::filesystem::path p) + : _film (film) , _position (0) , _trim_start (0) , _trim_end (0) @@ -78,8 +78,8 @@ Content::Content (shared_ptr<const Film> f, boost::filesystem::path p) _paths.push_back (p); } -Content::Content (shared_ptr<const Film> f, cxml::ConstNodePtr node) - : _film (f) +Content::Content (shared_ptr<const Film> film, cxml::ConstNodePtr node) + : _film (film) , _change_signals_frequent (false) { list<cxml::NodePtr> path_children = node->node_children ("Path"); @@ -92,8 +92,8 @@ Content::Content (shared_ptr<const Film> f, cxml::ConstNodePtr node) _trim_end = DCPTime (node->number_child<double> ("TrimEnd")); } -Content::Content (shared_ptr<const Film> f, vector<shared_ptr<Content> > c) - : _film (f) +Content::Content (shared_ptr<const Film> film, vector<shared_ptr<Content> > c) + : _film (film) , _position (c.front()->position ()) , _trim_start (c.front()->trim_start ()) , _trim_end (c.back()->trim_end ()) diff --git a/src/lib/dcp_content.cc b/src/lib/dcp_content.cc index b707754a7..d51a560dd 100644 --- a/src/lib/dcp_content.cc +++ b/src/lib/dcp_content.cc @@ -37,11 +37,11 @@ using boost::optional; int const DCPContentProperty::CAN_BE_PLAYED = 600; -DCPContent::DCPContent (shared_ptr<const Film> f, boost::filesystem::path p) - : Content (f) - , VideoContent (f) - , SingleStreamAudioContent (f) - , SubtitleContent (f) +DCPContent::DCPContent (shared_ptr<const Film> film, boost::filesystem::path p) + : Content (film) + , VideoContent (film) + , SingleStreamAudioContent (film) + , SubtitleContent (film) , _has_subtitles (false) , _encrypted (false) , _kdm_valid (false) @@ -51,11 +51,11 @@ DCPContent::DCPContent (shared_ptr<const Film> f, boost::filesystem::path p) unset_colour_conversion (false); } -DCPContent::DCPContent (shared_ptr<const Film> f, cxml::ConstNodePtr node, int version) - : Content (f, node) - , VideoContent (f, node, version) - , SingleStreamAudioContent (f, node, version) - , SubtitleContent (f, node, version) +DCPContent::DCPContent (shared_ptr<const Film> film, cxml::ConstNodePtr node, int version) + : Content (film, node) + , VideoContent (film, node, version) + , SingleStreamAudioContent (film, node, version) + , SubtitleContent (film, node, version) { _name = node->string_child ("Name"); _has_subtitles = node->bool_child ("HasSubtitles"); diff --git a/src/lib/dcp_content.h b/src/lib/dcp_content.h index 9365a6e2c..74f06cdc6 100644 --- a/src/lib/dcp_content.h +++ b/src/lib/dcp_content.h @@ -43,8 +43,8 @@ public: class DCPContent : public VideoContent, public SingleStreamAudioContent, public SubtitleContent { public: - DCPContent (boost::shared_ptr<const Film> f, boost::filesystem::path p); - DCPContent (boost::shared_ptr<const Film> f, cxml::ConstNodePtr, int version); + DCPContent (boost::shared_ptr<const Film>, boost::filesystem::path p); + DCPContent (boost::shared_ptr<const Film>, cxml::ConstNodePtr, int version); boost::shared_ptr<DCPContent> shared_from_this () { return boost::dynamic_pointer_cast<DCPContent> (Content::shared_from_this ()); diff --git a/src/lib/encoder.cc b/src/lib/encoder.cc index d0764ac35..776ccd118 100644 --- a/src/lib/encoder.cc +++ b/src/lib/encoder.cc @@ -59,8 +59,8 @@ using boost::scoped_array; int const Encoder::_history_size = 25; /** @param f Film that we are encoding */ -Encoder::Encoder (shared_ptr<const Film> f, weak_ptr<Job> j, shared_ptr<Writer> writer) - : _film (f) +Encoder::Encoder (shared_ptr<const Film> film, weak_ptr<Job> j, shared_ptr<Writer> writer) + : _film (film) , _job (j) , _video_frames_enqueued (0) , _terminate (false) diff --git a/src/lib/encoder.h b/src/lib/encoder.h index 8b7c1f3ad..0e2d30654 100644 --- a/src/lib/encoder.h +++ b/src/lib/encoder.h @@ -59,7 +59,7 @@ class PlayerVideo; class Encoder : public boost::noncopyable, public ExceptionStore { public: - Encoder (boost::shared_ptr<const Film> f, boost::weak_ptr<Job>, boost::shared_ptr<Writer>); + Encoder (boost::shared_ptr<const Film>, boost::weak_ptr<Job>, boost::shared_ptr<Writer>); virtual ~Encoder (); /** Called to indicate that a processing run is about to begin */ diff --git a/src/lib/examine_content_job.cc b/src/lib/examine_content_job.cc index b5441e36b..238c89e66 100644 --- a/src/lib/examine_content_job.cc +++ b/src/lib/examine_content_job.cc @@ -29,8 +29,8 @@ using std::string; using std::cout; using boost::shared_ptr; -ExamineContentJob::ExamineContentJob (shared_ptr<const Film> f, shared_ptr<Content> c) - : Job (f) +ExamineContentJob::ExamineContentJob (shared_ptr<const Film> film, shared_ptr<Content> c) + : Job (film) , _content (c) { diff --git a/src/lib/ffmpeg_content.cc b/src/lib/ffmpeg_content.cc index 608c8cdb7..1793b8998 100644 --- a/src/lib/ffmpeg_content.cc +++ b/src/lib/ffmpeg_content.cc @@ -53,20 +53,20 @@ int const FFmpegContentProperty::SUBTITLE_STREAMS = 100; int const FFmpegContentProperty::SUBTITLE_STREAM = 101; int const FFmpegContentProperty::FILTERS = 102; -FFmpegContent::FFmpegContent (shared_ptr<const Film> f, boost::filesystem::path p) - : Content (f, p) - , VideoContent (f, p) - , AudioContent (f, p) - , SubtitleContent (f, p) +FFmpegContent::FFmpegContent (shared_ptr<const Film> film, boost::filesystem::path p) + : Content (film, p) + , VideoContent (film, p) + , AudioContent (film, p) + , SubtitleContent (film, p) { } -FFmpegContent::FFmpegContent (shared_ptr<const Film> f, cxml::ConstNodePtr node, int version, list<string>& notes) - : Content (f, node) - , VideoContent (f, node, version) - , AudioContent (f, node) - , SubtitleContent (f, node, version) +FFmpegContent::FFmpegContent (shared_ptr<const Film> film, cxml::ConstNodePtr node, int version, list<string>& notes) + : Content (film, node) + , VideoContent (film, node, version) + , AudioContent (film, node) + , SubtitleContent (film, node, version) { list<cxml::NodePtr> c = node->node_children ("SubtitleStream"); for (list<cxml::NodePtr>::const_iterator i = c.begin(); i != c.end(); ++i) { @@ -98,11 +98,11 @@ FFmpegContent::FFmpegContent (shared_ptr<const Film> f, cxml::ConstNodePtr node, _first_video = node->optional_number_child<double> ("FirstVideo"); } -FFmpegContent::FFmpegContent (shared_ptr<const Film> f, vector<boost::shared_ptr<Content> > c) - : Content (f, c) - , VideoContent (f, c) - , AudioContent (f, c) - , SubtitleContent (f, c) +FFmpegContent::FFmpegContent (shared_ptr<const Film> film, vector<boost::shared_ptr<Content> > c) + : Content (film, c) + , VideoContent (film, c) + , AudioContent (film, c) + , SubtitleContent (film, c) { shared_ptr<FFmpegContent> ref = dynamic_pointer_cast<FFmpegContent> (c[0]); DCPOMATIC_ASSERT (ref); diff --git a/src/lib/image_content.cc b/src/lib/image_content.cc index c0004e59c..3f62c3ebf 100644 --- a/src/lib/image_content.cc +++ b/src/lib/image_content.cc @@ -35,9 +35,9 @@ using std::string; using std::cout; using boost::shared_ptr; -ImageContent::ImageContent (shared_ptr<const Film> f, boost::filesystem::path p) - : Content (f) - , VideoContent (f) +ImageContent::ImageContent (shared_ptr<const Film> film, boost::filesystem::path p) + : Content (film) + , VideoContent (film) { bool have_j2k = false; if (boost::filesystem::is_regular_file (p) && valid_image_file (p)) { @@ -69,9 +69,9 @@ ImageContent::ImageContent (shared_ptr<const Film> f, boost::filesystem::path p) } -ImageContent::ImageContent (shared_ptr<const Film> f, cxml::ConstNodePtr node, int version) - : Content (f, node) - , VideoContent (f, node, version) +ImageContent::ImageContent (shared_ptr<const Film> film, cxml::ConstNodePtr node, int version) + : Content (film, node) + , VideoContent (film, node, version) { } diff --git a/src/lib/job.cc b/src/lib/job.cc index 286b38456..25ff0aa4c 100644 --- a/src/lib/job.cc +++ b/src/lib/job.cc @@ -41,8 +41,8 @@ using boost::optional; #define LOG_ERROR_NC(...) _film->log()->log (__VA_ARGS__, Log::TYPE_ERROR); -Job::Job (shared_ptr<const Film> f) - : _film (f) +Job::Job (shared_ptr<const Film> film) + : _film (film) , _thread (0) , _state (NEW) , _start_time (0) diff --git a/src/lib/player.cc b/src/lib/player.cc index ac41cc7b3..449a4384d 100644 --- a/src/lib/player.cc +++ b/src/lib/player.cc @@ -68,11 +68,11 @@ using boost::weak_ptr; using boost::dynamic_pointer_cast; using boost::optional; -Player::Player (shared_ptr<const Film> f) - : _film (f) +Player::Player (shared_ptr<const Film> film) + : _film (film) , _have_valid_pieces (false) , _ignore_video (false) - , _burn_subtitles (f->burn_subtitles ()) + , _burn_subtitles (film->burn_subtitles ()) { _film_content_changed_connection = _film->ContentChanged.connect (bind (&Player::content_changed, this, _1, _2, _3)); _film_changed_connection = _film->Changed.connect (bind (&Player::film_changed, this, _1)); diff --git a/src/lib/scp_dcp_job.cc b/src/lib/scp_dcp_job.cc index 5aade6382..d71ec6fd2 100644 --- a/src/lib/scp_dcp_job.cc +++ b/src/lib/scp_dcp_job.cc @@ -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 @@ -98,8 +98,8 @@ public: }; -SCPDCPJob::SCPDCPJob (shared_ptr<const Film> f) - : Job (f) +SCPDCPJob::SCPDCPJob (shared_ptr<const Film> film) + : Job (film) , _status (_("Waiting")) { diff --git a/src/lib/send_kdm_email_job.cc b/src/lib/send_kdm_email_job.cc index de0322272..4be54c5cd 100644 --- a/src/lib/send_kdm_email_job.cc +++ b/src/lib/send_kdm_email_job.cc @@ -29,14 +29,14 @@ using std::list; using boost::shared_ptr; SendKDMEmailJob::SendKDMEmailJob ( - shared_ptr<const Film> f, + shared_ptr<const Film> film, list<shared_ptr<Screen> > screens, boost::filesystem::path dcp, boost::posix_time::ptime from, boost::posix_time::ptime to, dcp::Formulation formulation ) - : Job (f) + : Job (film) , _screens (screens) , _dcp (dcp) , _from (from) diff --git a/src/lib/single_stream_audio_content.cc b/src/lib/single_stream_audio_content.cc index f978fa423..6a9a78bfa 100644 --- a/src/lib/single_stream_audio_content.cc +++ b/src/lib/single_stream_audio_content.cc @@ -27,23 +27,23 @@ using std::cout; using std::vector; using boost::shared_ptr; -SingleStreamAudioContent::SingleStreamAudioContent (shared_ptr<const Film> f) - : Content (f) - , AudioContent (f) +SingleStreamAudioContent::SingleStreamAudioContent (shared_ptr<const Film> film) + : Content (film) + , AudioContent (film) { } -SingleStreamAudioContent::SingleStreamAudioContent (shared_ptr<const Film> f, boost::filesystem::path p) - : Content (f, p) - , AudioContent (f, p) +SingleStreamAudioContent::SingleStreamAudioContent (shared_ptr<const Film> film, boost::filesystem::path p) + : Content (film, p) + , AudioContent (film, p) { } -SingleStreamAudioContent::SingleStreamAudioContent (shared_ptr<const Film> f, cxml::ConstNodePtr node, int version) - : Content (f, node) - , AudioContent (f, node) +SingleStreamAudioContent::SingleStreamAudioContent (shared_ptr<const Film> film, cxml::ConstNodePtr node, int version) + : Content (film, node) + , AudioContent (film, node) , _audio_stream (new AudioStream (node->number_child<int> ("AudioFrameRate"), AudioMapping (node->node_child ("AudioMapping"), version))) { diff --git a/src/lib/single_stream_audio_content.h b/src/lib/single_stream_audio_content.h index d8fcb8df0..abe68b444 100644 --- a/src/lib/single_stream_audio_content.h +++ b/src/lib/single_stream_audio_content.h @@ -36,7 +36,7 @@ class SingleStreamAudioContent : public AudioContent public: SingleStreamAudioContent (boost::shared_ptr<const Film>); SingleStreamAudioContent (boost::shared_ptr<const Film>, boost::filesystem::path); - SingleStreamAudioContent (boost::shared_ptr<const Film> f, cxml::ConstNodePtr node, int version); + SingleStreamAudioContent (boost::shared_ptr<const Film>, cxml::ConstNodePtr node, int version); void as_xml (xmlpp::Node* node) const; diff --git a/src/lib/sndfile_content.cc b/src/lib/sndfile_content.cc index cfee7bd38..6d3ee18f5 100644 --- a/src/lib/sndfile_content.cc +++ b/src/lib/sndfile_content.cc @@ -34,16 +34,16 @@ using std::string; using std::cout; using boost::shared_ptr; -SndfileContent::SndfileContent (shared_ptr<const Film> f, boost::filesystem::path p) - : Content (f, p) - , SingleStreamAudioContent (f, p) +SndfileContent::SndfileContent (shared_ptr<const Film> film, boost::filesystem::path p) + : Content (film, p) + , SingleStreamAudioContent (film, p) { } -SndfileContent::SndfileContent (shared_ptr<const Film> f, cxml::ConstNodePtr node, int version) - : Content (f, node) - , SingleStreamAudioContent (f, node, version) +SndfileContent::SndfileContent (shared_ptr<const Film> film, cxml::ConstNodePtr node, int version) + : Content (film, node) + , SingleStreamAudioContent (film, node, version) , _audio_length (node->number_child<int64_t> ("AudioLength")) { diff --git a/src/lib/subtitle_content.cc b/src/lib/subtitle_content.cc index f03968d91..514ee03cb 100644 --- a/src/lib/subtitle_content.cc +++ b/src/lib/subtitle_content.cc @@ -43,8 +43,8 @@ int const SubtitleContentProperty::USE_SUBTITLES = 504; int const SubtitleContentProperty::SUBTITLE_LANGUAGE = 505; int const SubtitleContentProperty::FONTS = 506; -SubtitleContent::SubtitleContent (shared_ptr<const Film> f) - : Content (f) +SubtitleContent::SubtitleContent (shared_ptr<const Film> film) + : Content (film) , _use_subtitles (false) , _subtitle_x_offset (0) , _subtitle_y_offset (0) @@ -54,8 +54,8 @@ SubtitleContent::SubtitleContent (shared_ptr<const Film> f) } -SubtitleContent::SubtitleContent (shared_ptr<const Film> f, boost::filesystem::path p) - : Content (f, p) +SubtitleContent::SubtitleContent (shared_ptr<const Film> film, boost::filesystem::path p) + : Content (film, p) , _use_subtitles (false) , _subtitle_x_offset (0) , _subtitle_y_offset (0) @@ -65,8 +65,8 @@ SubtitleContent::SubtitleContent (shared_ptr<const Film> f, boost::filesystem::p } -SubtitleContent::SubtitleContent (shared_ptr<const Film> f, cxml::ConstNodePtr node, int version) - : Content (f, node) +SubtitleContent::SubtitleContent (shared_ptr<const Film> film, cxml::ConstNodePtr node, int version) + : Content (film, node) , _use_subtitles (false) , _subtitle_x_offset (0) , _subtitle_y_offset (0) @@ -103,8 +103,8 @@ SubtitleContent::SubtitleContent (shared_ptr<const Film> f, cxml::ConstNodePtr n connect_to_fonts (); } -SubtitleContent::SubtitleContent (shared_ptr<const Film> f, vector<shared_ptr<Content> > c) - : Content (f, c) +SubtitleContent::SubtitleContent (shared_ptr<const Film> film, vector<shared_ptr<Content> > c) + : Content (film, c) { shared_ptr<SubtitleContent> ref = dynamic_pointer_cast<SubtitleContent> (c[0]); DCPOMATIC_ASSERT (ref); diff --git a/src/lib/transcode_job.cc b/src/lib/transcode_job.cc index 1a2202ad2..d16287111 100644 --- a/src/lib/transcode_job.cc +++ b/src/lib/transcode_job.cc @@ -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 @@ -42,8 +42,8 @@ using boost::shared_ptr; /** @param s Film to use. */ -TranscodeJob::TranscodeJob (shared_ptr<const Film> f) - : Job (f) +TranscodeJob::TranscodeJob (shared_ptr<const Film> film) + : Job (film) { } diff --git a/src/lib/transcode_job.h b/src/lib/transcode_job.h index e0145d7d0..efe3f9719 100644 --- a/src/lib/transcode_job.h +++ b/src/lib/transcode_job.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 @@ -32,7 +32,7 @@ class Transcoder; class TranscodeJob : public Job { public: - TranscodeJob (boost::shared_ptr<const Film> f); + TranscodeJob (boost::shared_ptr<const Film>); std::string name () const; std::string json_name () const; diff --git a/src/lib/transcoder.cc b/src/lib/transcoder.cc index 091da50f4..4ff0c6dfe 100644 --- a/src/lib/transcoder.cc +++ b/src/lib/transcoder.cc @@ -46,11 +46,11 @@ using boost::dynamic_pointer_cast; * @param f Film that we are transcoding. * @param j Job that this transcoder is being used in. */ -Transcoder::Transcoder (shared_ptr<const Film> f, shared_ptr<Job> j) - : _film (f) - , _player (new Player (f)) - , _writer (new Writer (f, j)) - , _encoder (new Encoder (f, j, _writer)) +Transcoder::Transcoder (shared_ptr<const Film> film, shared_ptr<Job> j) + : _film (film) + , _player (new Player (film)) + , _writer (new Writer (film, j)) + , _encoder (new Encoder (film, j, _writer)) , _finishing (false) { diff --git a/src/lib/video_content.cc b/src/lib/video_content.cc index 60b702e01..f97e46322 100644 --- a/src/lib/video_content.cc +++ b/src/lib/video_content.cc @@ -60,8 +60,8 @@ using boost::shared_ptr; using boost::optional; using boost::dynamic_pointer_cast; -VideoContent::VideoContent (shared_ptr<const Film> f) - : Content (f) +VideoContent::VideoContent (shared_ptr<const Film> film) + : Content (film) , _video_length (0) , _video_frame_rate (0) , _video_frame_type (VIDEO_FRAME_TYPE_2D) @@ -72,8 +72,8 @@ VideoContent::VideoContent (shared_ptr<const Film> f) set_default_colour_conversion (); } -VideoContent::VideoContent (shared_ptr<const Film> f, DCPTime s, Frame len) - : Content (f, s) +VideoContent::VideoContent (shared_ptr<const Film> film, DCPTime s, Frame len) + : Content (film, s) , _video_length (len) , _video_frame_rate (0) , _video_frame_type (VIDEO_FRAME_TYPE_2D) @@ -84,8 +84,8 @@ VideoContent::VideoContent (shared_ptr<const Film> f, DCPTime s, Frame len) set_default_colour_conversion (); } -VideoContent::VideoContent (shared_ptr<const Film> f, boost::filesystem::path p) - : Content (f, p) +VideoContent::VideoContent (shared_ptr<const Film> film, boost::filesystem::path p) + : Content (film, p) , _video_length (0) , _video_frame_rate (0) , _video_frame_type (VIDEO_FRAME_TYPE_2D) @@ -96,8 +96,8 @@ VideoContent::VideoContent (shared_ptr<const Film> f, boost::filesystem::path p) set_default_colour_conversion (); } -VideoContent::VideoContent (shared_ptr<const Film> f, cxml::ConstNodePtr node, int version) - : Content (f, node) +VideoContent::VideoContent (shared_ptr<const Film> film, cxml::ConstNodePtr node, int version) + : Content (film, node) { _video_size.width = node->number_child<int> ("VideoWidth"); _video_size.height = node->number_child<int> ("VideoHeight"); @@ -131,8 +131,8 @@ VideoContent::VideoContent (shared_ptr<const Film> f, cxml::ConstNodePtr node, i } } -VideoContent::VideoContent (shared_ptr<const Film> f, vector<shared_ptr<Content> > c) - : Content (f, c) +VideoContent::VideoContent (shared_ptr<const Film> film, vector<shared_ptr<Content> > c) + : Content (film, c) , _video_length (0) { shared_ptr<VideoContent> ref = dynamic_pointer_cast<VideoContent> (c[0]); diff --git a/src/lib/writer.cc b/src/lib/writer.cc index 5c711ef92..8643b0def 100644 --- a/src/lib/writer.cc +++ b/src/lib/writer.cc @@ -74,8 +74,8 @@ using boost::shared_ptr; using boost::weak_ptr; using boost::dynamic_pointer_cast; -Writer::Writer (shared_ptr<const Film> f, weak_ptr<Job> j) - : _film (f) +Writer::Writer (shared_ptr<const Film> film, weak_ptr<Job> j) + : _film (film) , _job (j) , _first_nonexistant_frame (0) , _thread (0) |
