Skip to content
Prev Previous commit
Next Next commit
Add comment in test
  • Loading branch information
kkroening committed Jun 14, 2017
commit f4025b464f40d03afa6da35cffcac6baaf901ad6
2 changes: 1 addition & 1 deletion ffmpeg/tests/test_ffmpeg.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ def test_pipe():
p = subprocess.Popen(cmd, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE)

in_data = bytes(bytearray([random.randint(0,255) for _ in range(frame_size * frame_count)]))
p.stdin.write(in_data)
p.stdin.write(in_data) # note: this could block, in which case need to use threads
p.stdin.close()

out_data = p.stdout.read()
Expand Down