For that alone? (Probably) No, but you could get a fine if there are witnesses.
If it's more than just that, it might fall under hate speech/racism.. which will get you up to 5 years in Germany

However, when he puts "pedos", as a group, together with Hitler, then I assume a movement/political group. And that is a more "serious" matter. Take the dutch group "Martijn" for example.