diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-03-19 17:44:10 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-04-22 01:42:22 +0200 |
| commit | cca70e0824e6883f50838578897792476953ea24 (patch) | |
| tree | ab7c32822e94fe08d1bf03d6878c66cc95070720 /src/mono_mpeg2_picture_asset.h | |
| parent | 066471f69400fc72e9c126ab36f5427329f30220 (diff) | |
Support MPEG2 compression.v1.9.6
Diffstat (limited to 'src/mono_mpeg2_picture_asset.h')
| -rw-r--r-- | src/mono_mpeg2_picture_asset.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mono_mpeg2_picture_asset.h b/src/mono_mpeg2_picture_asset.h index a740cc6c..8ef3653e 100644 --- a/src/mono_mpeg2_picture_asset.h +++ b/src/mono_mpeg2_picture_asset.h @@ -41,6 +41,7 @@ */ +#include "behaviour.h" #include "mpeg2_picture_asset.h" #include "mono_mpeg2_picture_asset_reader.h" @@ -48,11 +49,19 @@ namespace dcp { +class MonoMPEG2PictureAssetWriter; + + class MonoMPEG2PictureAsset : public MPEG2PictureAsset { public: + MonoMPEG2PictureAsset(Fraction edit_rate) + : MPEG2PictureAsset(edit_rate) + {} + explicit MonoMPEG2PictureAsset(boost::filesystem::path file); + std::shared_ptr<MPEG2PictureAssetWriter> start_write(boost::filesystem::path file, Behaviour behaviour) override; std::shared_ptr<MonoMPEG2PictureAssetReader> start_read() const; }; |
