From 545ebfb7e2cc5aecc072d3d8ffd73cd245b93d9b Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 26 Aug 2013 09:29:16 +0000 Subject: av_ff_common: :nodoc: this constant and add TODO item 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. --- lib/dtas/source/av_ff_common.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3-24-ge0c7