diff options
Diffstat (limited to 'lib/dtas/source')
-rw-r--r-- | lib/dtas/source/av_ff_common.rb | 6 |
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 |