about summary refs log tree commit homepage
path: root/lib/dtas/source/av_ff_common.rb
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2015-01-19 09:04:18 +0000
committerEric Wong <e@80x24.org>2015-01-19 09:58:47 +0000
commitb95a51440b6378847c4ab5dd4cf9e96e18b5f241 (patch)
treec9266398424220484c9f9c2b4969c9908abc5b89 /lib/dtas/source/av_ff_common.rb
parent723cd6da883bda87e092707ce17c31190a1c5205 (diff)
downloaddtas-b95a51440b6378847c4ab5dd4cf9e96e18b5f241.tar.gz
This makes debugging, grepping, and following code confusing
at times and also unexpected breaks usage of the global "spawn"
method.
Diffstat (limited to 'lib/dtas/source/av_ff_common.rb')
-rw-r--r--lib/dtas/source/av_ff_common.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/dtas/source/av_ff_common.rb b/lib/dtas/source/av_ff_common.rb
index ea0c01a..89d762d 100644
--- a/lib/dtas/source/av_ff_common.rb
+++ b/lib/dtas/source/av_ff_common.rb
@@ -127,8 +127,8 @@ module DTAS::Source::AvFfCommon # :nodoc:
     raise "BUG: no audio stream in #@infile"
   end
 
-  def spawn(player_format, rg_state, opts)
-    raise "BUG: #{self.inspect}#spawn called twice" if @to_io
+  def src_spawn(player_format, rg_state, opts)
+    raise "BUG: #{self.inspect}#src_spawn called twice" if @to_io
     amap = nil
 
     # try to find an audio stream which matches our channel count