Flush stdin after every write.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sat, 16 Mar 2013 00:52:48 +0000 (01:52 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sat, 16 Mar 2013 00:52:48 +0000 (01:52 +0100)
src/main/java/net/pterodactylus/sonitus/data/filter/ExternalFilter.java

index 5b4fc2c..fa3a2d8 100644 (file)
@@ -115,6 +115,7 @@ public abstract class ExternalFilter implements Filter {
                                @Override
                                protected void feed(byte[] buffer) throws IOException {
                                        processInput.write(buffer);
+                                       processInput.flush();
                                }
 
                                @Override