Correct parsing of streaminfo Fixes #1