diff options
author | Eric Wong <e@80x24.org> | 2023-10-12 09:22:51 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2023-10-12 09:24:04 +0000 |
commit | 63fb7405952428a3093ea32865ef0336e1a46bda (patch) | |
tree | 7d71e4cdd3b0fb120763cf27194a22dcafcf1685 /lib/dtas/source/ff.rb | |
parent | 958102f24071f114e0e1671aa6cbe519c69c7d07 (diff) | |
download | dtas-63fb7405952428a3093ea32865ef0336e1a46bda.tar.gz |
When this project started avconv was favored in Debian, but that hasn't been the case in many years. Increase the priority of ffmpeg to match the current situation in Debian.
Diffstat (limited to 'lib/dtas/source/ff.rb')
-rw-r--r-- | lib/dtas/source/ff.rb | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/dtas/source/ff.rb b/lib/dtas/source/ff.rb index 687cd18..3d84d99 100644 --- a/lib/dtas/source/ff.rb +++ b/lib/dtas/source/ff.rb @@ -1,12 +1,10 @@ -# Copyright (C) 2013-2020 all contributors <dtas-all@nongnu.org> +# Copyright (C) all contributors <dtas-all@nongnu.org> # License: GPL-3.0+ <https://www.gnu.org/licenses/gpl-3.0.txt> # frozen_string_literal: true require_relative '../../dtas' require_relative 'av_ff_common' # ffmpeg support -# note: only tested with the compatibility wrapper in the Debian 7.0 package -# (so still using avconv/avprobe) class DTAS::Source::Ff # :nodoc: include DTAS::Source::AvFfCommon @@ -15,8 +13,7 @@ class DTAS::Source::Ff # :nodoc: 'ffmpeg -v error $SSPOS $PROBE -i "$INFILE" $AMAP -f sox - |' \ 'sox -p $SOXFMT - $TRIMFX $RGFX', - # I haven't tested this much since av is in Debian stable and ff is not - "tryorder" => 2, + "tryorder" => 1, ) def initialize |