diff options
author | Eric Wong <e@80x24.org> | 2015-01-28 08:25:42 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2015-01-28 08:25:42 +0000 |
commit | 9d63755abd4774c57f6d2d4cf4b3643b5877737c (patch) | |
tree | f7f68279357bbcaa7764bfa5c12350bee9b64784 /lib | |
parent | 37eae22446feb5a805d9cd59f6ad54362829189f (diff) | |
download | dtas-9d63755abd4774c57f6d2d4cf4b3643b5877737c.tar.gz |
Oops, introduced in the previous commit: commit 37eae22446feb5a805d9cd59f6ad54362829189f (player: support the "trim" parameter)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/dtas/player.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/dtas/player.rb b/lib/dtas/player.rb index 2920dcd..ea04dca 100644 --- a/lib/dtas/player.rb +++ b/lib/dtas/player.rb @@ -378,8 +378,9 @@ class DTAS::Player # :nodoc: # keep going down the list until we find something while source_spec = @queue.shift + path, off = source_spec @sources.each do |src| - rv = src.try(file, offset, @trim) and return rv + rv = src.try(path, off, @trim) and return rv end end |