diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-06-05 00:05:32 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-06-05 14:36:27 +0100 |
| commit | fe99eae4b95c5fcf2f3730efad4a18d0cb5c29bc (patch) | |
| tree | 265ca14896f63eeff210d602c5f11ed19d800ebf /tools/dcpinfo.cc | |
| parent | 7b717db244554300ebed8eade8421ee3faa28d33 (diff) | |
MXF -> Asset in lots of places.
Diffstat (limited to 'tools/dcpinfo.cc')
| -rw-r--r-- | tools/dcpinfo.cc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/tools/dcpinfo.cc b/tools/dcpinfo.cc index 119a2106..965088c2 100644 --- a/tools/dcpinfo.cc +++ b/tools/dcpinfo.cc @@ -20,8 +20,8 @@ #include "dcp.h" #include "exceptions.h" #include "reel.h" -#include "sound_mxf.h" -#include "picture_mxf.h" +#include "sound_asset.h" +#include "picture_asset.h" #include "subtitle_asset.h" #include "reel_picture_asset.h" #include "reel_sound_asset.h" @@ -54,22 +54,22 @@ help (string n) static void main_picture (shared_ptr<Reel> reel) { - if (reel->main_picture() && reel->main_picture()->mxf()) { + if (reel->main_picture() && reel->main_picture()->asset()) { cout << " Picture: " - << reel->main_picture()->mxf()->size().width + << reel->main_picture()->asset()->size().width << "x" - << reel->main_picture()->mxf()->size().height << "\n"; + << reel->main_picture()->asset()->size().height << "\n"; } } static void main_sound (shared_ptr<Reel> reel) { - if (reel->main_sound() && reel->main_sound()->mxf()) { + if (reel->main_sound() && reel->main_sound()->asset()) { cout << " Sound: " - << reel->main_sound()->mxf()->channels() + << reel->main_sound()->asset()->channels() << " channels at " - << reel->main_sound()->mxf()->sampling_rate() << "Hz\n"; + << reel->main_sound()->asset()->sampling_rate() << "Hz\n"; } } |
