We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06053fd commit 2ffb8b8Copy full SHA for 2ffb8b8
test/pyTest/testTranscoderAdd.py
@@ -53,6 +53,22 @@ def testAddAStreamFromAFileWhichDoesNotExist():
53
transcoder.process()
54
55
56
+@raises(RuntimeError)
57
+def testEmptyListOfInputs():
58
+ """
59
+ Add an empty list of inputs.
60
61
+ # inputs
62
+ inputs = av.InputStreamDescVector()
63
+
64
+ # output
65
+ outputFileName = "testEmptyListOfInputs.mov"
66
+ ouputFile = av.OutputFile(outputFileName)
67
68
+ transcoder = av.Transcoder(ouputFile)
69
+ transcoder.addStream(inputs)
70
71
72
def testAddSeveralInputsToCreateOneOutput():
73
"""
74
Add several audio inputs and create one output stream.
0 commit comments