Can we make the packetizer functions return a gboolean (in case an error happens in them) ?