plugin loader: Don't fail after a short read/write
authorJan Schmidt <thaytan@noraisin.net>
Wed, 4 Nov 2009 11:35:46 +0000 (11:35 +0000)
committerJan Schmidt <thaytan@noraisin.net>
Wed, 4 Nov 2009 11:36:20 +0000 (11:36 +0000)
commitf425b2711fd9521ec2c1f05c14b748d3243e9171
treedbd616bfba7545e9f7fc022966f5855a83e5475f
parentcebbcb1cdf3f8303da29db35d9f7c1a7083f4abe
plugin loader: Don't fail after a short read/write

The logic to handle short reads/writes was incorrect, causing the
packet handler to attempt to handle incomplete packets.

Grow the packet transmit buffer in proportion to observed usage,
causing fewer reallocs.

Add some more debug in the registry chunks code.
gst/gstpluginloader.c
gst/gstregistrychunks.c