about summary refs log tree commit homepage
path: root/lib/dtas/player.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2013-08-26 08:26:58 +0000
committerEric Wong <normalperson@yhbt.net>2013-08-26 08:26:58 +0000
commitbc00dd1b3fee22bd91bd713e697b8b31be978d4e (patch)
tree0ae20084aa4bdeb1c5c793bb472102711cf2e268 /lib/dtas/player.rb
parentb7b0697b035c08e818204397a1c0cd19ba161eb4 (diff)
downloaddtas-bc00dd1b3fee22bd91bd713e697b8b31be978d4e.tar.gz
Since ffmpeg/ffprobe are wrappers around their libav-variants,
I haven't had the chance to actually test with "real" ffmpeg,
but the usage is probably similar enough to not matter.
Diffstat (limited to 'lib/dtas/player.rb')
-rw-r--r--lib/dtas/player.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/dtas/player.rb b/lib/dtas/player.rb
index d865239..0e7a4b5 100644
--- a/lib/dtas/player.rb
+++ b/lib/dtas/player.rb
@@ -7,6 +7,7 @@ require_relative '../dtas'
 require_relative 'source'
 require_relative 'source/sox'
 require_relative 'source/av'
+require_relative 'source/ff'
 require_relative 'source/cmd'
 require_relative 'sink'
 require_relative 'unix_server'
@@ -41,6 +42,7 @@ class DTAS::Player # :nodoc:
     @source_map = {
       "sox" => DTAS::Source::Sox.new,
       "av" => DTAS::Source::Av.new,
+      "ff" => DTAS::Source::Ff.new,
     }
     source_map_reload
   end