mirror of
https://github.com/sbrow/nu-ffmpeg.git
synced 2025-12-29 16:23:11 -05:00
test: Fixed broken test.
This commit is contained in:
@@ -132,13 +132,13 @@ def without_filterchain_chains_are_concated [] {
|
|||||||
}
|
}
|
||||||
#[test]
|
#[test]
|
||||||
def filterchain_concats_filters [] {
|
def filterchain_concats_filters [] {
|
||||||
let got = (cmd ['INPUT'] ['OUTPUT'] | filterchain ['in'] ['out'] { fps 25 | loop 2 1 });
|
let got = (cmd ['INPUT'] ['OUTPUT'] | filterchain { fps 25 -i ['in'] | loop 2 1 -o ['out']});
|
||||||
|
|
||||||
assert equal $got {
|
assert equal $got {
|
||||||
input: ['INPUT']
|
input: ['INPUT']
|
||||||
filters: [[
|
filters: [[
|
||||||
{
|
{
|
||||||
input: [] # ['in']
|
input: ['in']
|
||||||
name: 'fps'
|
name: 'fps'
|
||||||
params: [
|
params: [
|
||||||
{param: 'fps' value: 25}
|
{param: 'fps' value: 25}
|
||||||
@@ -160,7 +160,7 @@ def filterchain_concats_filters [] {
|
|||||||
{param: 'loop' value: 2}
|
{param: 'loop' value: 2}
|
||||||
{param: 'size' value: 1}
|
{param: 'size' value: 1}
|
||||||
]
|
]
|
||||||
output: [] # ['out']
|
output: ['out']
|
||||||
}
|
}
|
||||||
]]
|
]]
|
||||||
output: ['OUTPUT']
|
output: ['OUTPUT']
|
||||||
|
|||||||
Reference in New Issue
Block a user