This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'minitest/autorun' | |
include MiniTest::Assertions | |
def arr_deep(arr) | |
raise NoMethodError if (!arr.respond_to?(:to_a) or arr.nil?) | |
arr.to_a.map do |q| | |
if q.is_a?(Array) | |
arr_deep(q) | |
else | |
q |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// ffmpeg_customfilter | |
// - base name - ainfoda (audio filter) | |
// - base name - vinfoda (video filter) | |
// | |
// 1. create new filein libavfilter/infoda_af.c | |
// use any filters as template, simplest is af_afnull.c | |
// filename is arbitrary (all recent named as af_name), but for me all my stuff called with |