tests: don't set caps on unwritable buffers
authorWim Taymans <wim.taymans@collabora.co.uk>
Wed, 5 Aug 2009 11:48:40 +0000 (13:48 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Thu, 6 Aug 2009 08:53:01 +0000 (10:53 +0200)
commit96e342b6868da04ff43d85fe635bf61686b385e3
treec4e009ede97252129e6721b6e51c09aedec91ae2
parent49f24e2044bcc8afc78b99e7f6b7fa0aef3864e5
tests: don't set caps on unwritable buffers

Take the ref after setting the caps on a buffer because else the buffer is
techinically not writable.
tests/check/gst/gstpad.c