diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-12-23 00:03:11 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-12-23 00:03:11 +0000 |
| commit | 92fcfff515d8416c8b175cb5e68dd492963362d5 (patch) | |
| tree | 6e4216c7e5326c0b770c7375ad889282ea0a1080 /src/lib/video_content.cc | |
| parent | 937b96045830a2326daff83b70b892f2d25244ff (diff) | |
Remove unused code.
Diffstat (limited to 'src/lib/video_content.cc')
| -rw-r--r-- | src/lib/video_content.cc | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/src/lib/video_content.cc b/src/lib/video_content.cc index c50d466a1..1a03c2af2 100644 --- a/src/lib/video_content.cc +++ b/src/lib/video_content.cc @@ -249,30 +249,6 @@ VideoContent::take_from_video_examiner (shared_ptr<VideoExaminer> d) signal_changed (ContentProperty::LENGTH); } - -string -VideoContent::information () const -{ - if (video_size().width == 0 || video_size().height == 0) { - return ""; - } - - SafeStringStream s; - - s << String::compose ( - _("%1x%2 pixels (%3:1)"), - video_size().width, - video_size().height, - setprecision (3), video_size().ratio () - ); - - if (sample_aspect_ratio ()) { - s << String::compose (_(" sample aspect ratio %1:1"), sample_aspect_ratio().get ()); - } - - return s.str (); -} - void VideoContent::set_left_crop (int c) { |
