diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-03-24 20:09:32 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-03-24 20:09:32 +0000 |
| commit | 847b0c0f95ddb9ee0bcb7f70e6ee50007828d6d2 (patch) | |
| tree | e75df1b13d1726ec1700a62b906cc91da10531e4 | |
| parent | 5790a7e1ddda02afbca611b2978a4390e7ee9595 (diff) | |
Revert use of _entry_point when getting sound frames from existing MXFs; seems to cause problems.
| -rw-r--r-- | src/sound_asset.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sound_asset.cc b/src/sound_asset.cc index 014b95a2..e18441c6 100644 --- a/src/sound_asset.cc +++ b/src/sound_asset.cc @@ -298,7 +298,8 @@ SoundAsset::equals (shared_ptr<const Asset> other, EqualityOptions opt, list<str shared_ptr<const SoundFrame> SoundAsset::get_frame (int n) const { - return shared_ptr<const SoundFrame> (new SoundFrame (path().string(), n + _entry_point)); + /* XXX: should add on entry point here? */ + return shared_ptr<const SoundFrame> (new SoundFrame (path().string(), n)); } shared_ptr<SoundAssetWriter> |
