Revert use of _entry_point when getting sound frames from existing MXFs; seems to...
authorCarl Hetherington <cth@carlh.net>
Sun, 24 Mar 2013 20:09:32 +0000 (20:09 +0000)
committerCarl Hetherington <cth@carlh.net>
Sun, 24 Mar 2013 20:09:32 +0000 (20:09 +0000)
src/sound_asset.cc

index 014b95a217260ae62a96c7503b080631993fce31..e18441c68f60c08ac328a13d237da718ec1edcea 100644 (file)
@@ -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>