diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-07-19 16:08:29 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-07-19 16:08:29 +0100 |
| commit | bd453939da140ea994282e1c167ea5f8d02e2d94 (patch) | |
| tree | 8cdfbacdc9f33f82ab13895a0ed5207fd0bc8fa1 /src/lib/player.cc | |
| parent | 56506a1993f402fe889a650faa3de2e265632498 (diff) | |
Spacing tweaks; rename ImageMagick -> StillImage.
Diffstat (limited to 'src/lib/player.cc')
| -rw-r--r-- | src/lib/player.cc | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/lib/player.cc b/src/lib/player.cc index d3d5d0f6b..1ffced425 100644 --- a/src/lib/player.cc +++ b/src/lib/player.cc @@ -22,8 +22,8 @@ #include "film.h" #include "ffmpeg_decoder.h" #include "ffmpeg_content.h" -#include "imagemagick_decoder.h" -#include "imagemagick_content.h" +#include "still_image_decoder.h" +#include "still_image_content.h" #include "sndfile_decoder.h" #include "sndfile_content.h" #include "subtitle_content.h" @@ -74,8 +74,8 @@ std::ostream& operator<<(std::ostream& s, Piece const & p) { if (dynamic_pointer_cast<FFmpegContent> (p.content)) { s << "\tffmpeg "; - } else if (dynamic_pointer_cast<ImageMagickContent> (p.content)) { - s << "\timagemagick"; + } else if (dynamic_pointer_cast<StillImageContent> (p.content)) { + s << "\tstill image"; } else if (dynamic_pointer_cast<SndfileContent> (p.content)) { s << "\tsndfile "; } @@ -421,20 +421,20 @@ Player::setup_pieces () piece->decoder = fd; } - shared_ptr<const ImageMagickContent> ic = dynamic_pointer_cast<const ImageMagickContent> (*i); + shared_ptr<const StillImageContent> ic = dynamic_pointer_cast<const StillImageContent> (*i); if (ic) { - shared_ptr<ImageMagickDecoder> id; + shared_ptr<StillImageDecoder> id; - /* See if we can re-use an old ImageMagickDecoder */ + /* See if we can re-use an old StillImageDecoder */ for (list<shared_ptr<Piece> >::const_iterator j = old_pieces.begin(); j != old_pieces.end(); ++j) { - shared_ptr<ImageMagickDecoder> imd = dynamic_pointer_cast<ImageMagickDecoder> ((*j)->decoder); + shared_ptr<StillImageDecoder> imd = dynamic_pointer_cast<StillImageDecoder> ((*j)->decoder); if (imd && imd->content() == ic) { id = imd; } } if (!id) { - id.reset (new ImageMagickDecoder (_film, ic)); + id.reset (new StillImageDecoder (_film, ic)); id->Video.connect (bind (&Player::process_video, this, piece, _1, _2, _3)); } |
