about summary refs log tree commit homepage
path: root/lib/dtas
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2013-08-26 09:29:16 +0000
committerEric Wong <normalperson@yhbt.net>2013-08-26 09:29:16 +0000
commit545ebfb7e2cc5aecc072d3d8ffd73cd245b93d9b (patch)
tree1d6da568893a550980f3c22f8f7e579710b2770a /lib/dtas
parentfba04b17d7f256e5e83e61673d69a88c2748e9ac (diff)
downloaddtas-545ebfb7e2cc5aecc072d3d8ffd73cd245b93d9b.tar.gz
We expose no public API, so avoid cluttering users disk space with
useless ri/rdoc and avoid cluttering the web with HTML nobody will
read.
Diffstat (limited to 'lib/dtas')
-rw-r--r--lib/dtas/source/av_ff_common.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/dtas/source/av_ff_common.rb b/lib/dtas/source/av_ff_common.rb
index 08f5b0c..1d0f146 100644
--- a/lib/dtas/source/av_ff_common.rb
+++ b/lib/dtas/source/av_ff_common.rb
@@ -6,7 +6,11 @@ require_relative '../source'
 require_relative '../replaygain'
 require_relative 'file'
 
-module DTAS::Source::AvFfCommon
+# Common code for libav (avconv/avprobe) and ffmpeg (and ffprobe)
+# TODO: newer versions of both *probes support JSON, which will be easier to
+# parse.  However, the packaged libav version in Debian 7.0 does not
+# support JSON, so we have an ugly parser...
+module DTAS::Source::AvFfCommon # :nodoc:
   include DTAS::Source::File
   AStream = Struct.new(:duration, :channels, :rate)
   AV_FF_TRYORDER = 1