about summary refs log tree commit homepage
path: root/lib/dtas/player.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/dtas/player.rb')
-rw-r--r--lib/dtas/player.rb3
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