mirror of
https://github.com/u2takey/ffmpeg-go.git
synced 2025-10-05 16:06:52 +08:00
add view.go and docs
This commit is contained in:
@@ -278,3 +278,14 @@ func TestPipe(t *testing.T) {
|
||||
assert.Nil(t, err)
|
||||
assert.Equal(t, outBuf.Len(), frameSize*(frameCount-startFrame))
|
||||
}
|
||||
|
||||
func TestView(t *testing.T) {
|
||||
a, err := ComplexFilterExample().View(ViewTypeFlowChart)
|
||||
assert.Nil(t, err)
|
||||
|
||||
b, err := ComplexFilterAsplitExample().View(ViewTypeStateDiagram)
|
||||
assert.Nil(t, err)
|
||||
|
||||
t.Log(a)
|
||||
t.Log(b)
|
||||
}
|
||||
|
Reference in New Issue
Block a user