mirror of
https://github.com/asticode/go-astiav.git
synced 2025-10-05 08:06:59 +08:00
Added filter thread methods
This commit is contained in:
@@ -17,6 +17,10 @@ func TestFilterGraph(t *testing.T) {
|
||||
cl := fg.Class()
|
||||
require.NotNil(t, cl)
|
||||
require.Equal(t, "AVFilterGraph", cl.Name())
|
||||
fg.SetThreadCount(2)
|
||||
require.Equal(t, 2, fg.ThreadCount())
|
||||
fg.SetThreadType(ThreadTypeSlice)
|
||||
require.Equal(t, ThreadTypeSlice, fg.ThreadType())
|
||||
|
||||
bufferSink := FindFilterByName("buffersink")
|
||||
require.NotNil(t, bufferSink)
|
||||
|
Reference in New Issue
Block a user