From 847b0c0f95ddb9ee0bcb7f70e6ee50007828d6d2 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 24 Mar 2013 20:09:32 +0000 Subject: [PATCH] Revert use of _entry_point when getting sound frames from existing MXFs; seems to cause problems. --- src/sound_asset.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 other, EqualityOptions opt, list SoundAsset::get_frame (int n) const { - return shared_ptr (new SoundFrame (path().string(), n + _entry_point)); + /* XXX: should add on entry point here? */ + return shared_ptr (new SoundFrame (path().string(), n)); } shared_ptr -- 2.30.2