diff options
author | Eric Wong <e@80x24.org> | 2016-01-25 01:03:18 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2016-01-25 01:09:05 +0000 |
commit | 70b81da26a525486c288176e5764c875c752d0b8 (patch) | |
tree | ff451fe1efbdd3f1d76ec571c63e9045eab7e28e /lib/dtas/source/av_ff_common.rb | |
parent | 7bfed9258bfeae89bab5939be749d07592b9f49c (diff) | |
download | dtas-70b81da26a525486c288176e5764c875c752d0b8.tar.gz |
Almost, we will need to get a list of all suffixes supported by ffprobe or avprobe. This could prove tricky..
Diffstat (limited to 'lib/dtas/source/av_ff_common.rb')
-rw-r--r-- | lib/dtas/source/av_ff_common.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/dtas/source/av_ff_common.rb b/lib/dtas/source/av_ff_common.rb index 0fb3ace..58d9f54 100644 --- a/lib/dtas/source/av_ff_common.rb +++ b/lib/dtas/source/av_ff_common.rb @@ -19,6 +19,7 @@ module DTAS::Source::AvFfCommon # :nodoc: attr_reader :precision # always 32 attr_reader :format + attr_reader :duration def try(infile, offset = nil, trim = nil) rv = source_file_dup(infile, offset, trim) |