about summary refs log tree commit homepage
path: root/lib/dtas/source/av.rb
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2023-09-04 06:21:52 +0000
committerEric Wong <e@80x24.org>2024-01-27 22:18:19 +0000
commitb8f99198b49c162920f2c28e0aa0da4eff8f14a7 (patch)
tree19650bc42bc3580b2077c3ef7b3d9fcf335d3cd6 /lib/dtas/source/av.rb
parent467b6941c7e9b5ecc299f92c7fa2f32d9326ba11 (diff)
downloaddtas-b8f99198b49c162920f2c28e0aa0da4eff8f14a7.tar.gz
As with soxi(1), waiting for ffprobe(1) or avprobe(1) is still
an expensive operation despite Process.spawn being optimized to
use vfork(2).
Diffstat (limited to 'lib/dtas/source/av.rb')
-rw-r--r--lib/dtas/source/av.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/dtas/source/av.rb b/lib/dtas/source/av.rb
index e05c695..dcebcfd 100644
--- a/lib/dtas/source/av.rb
+++ b/lib/dtas/source/av.rb
@@ -18,6 +18,7 @@ class DTAS::Source::Av # :nodoc:
 
   def initialize
     command_init(AV_DEFAULTS)
+    @mcache = nil
     @av_ff_probe = "avprobe"
   end