diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-02-28 00:08:56 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-02-28 00:08:56 +0100 |
| commit | eb80c762e9046e6b48fc754d6b510e80cd6a2d92 (patch) | |
| tree | 1f640a98727f722c76b0fe1ffcb2f360b6240fd1 /src/picture_asset_writer.cc | |
| parent | d16b830d2dcfc5c194851d1344448850da7f8ef7 (diff) | |
Add new write() method.
Diffstat (limited to 'src/picture_asset_writer.cc')
| -rw-r--r-- | src/picture_asset_writer.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/picture_asset_writer.cc b/src/picture_asset_writer.cc index f9f6630c..c30be1bc 100644 --- a/src/picture_asset_writer.cc +++ b/src/picture_asset_writer.cc @@ -58,3 +58,10 @@ PictureAssetWriter::PictureAssetWriter (PictureAsset* asset, boost::filesystem:: { asset->set_file (file); } + + +FrameInfo +PictureAssetWriter::write (Data const& data) +{ + return write (data.data(), data.size()); +} |
