Fixed level and profile sent to bitstream, for issue #5 b