ximagesink: Ask pad peer to accept new caps once only
authorPhilippe Normand <pnormand@igalia.com>
Mon, 14 Jun 2010 10:27:02 +0000 (12:27 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Fri, 18 Jun 2010 04:11:36 +0000 (06:11 +0200)
commit0ee588a3a6bfb0f0e89fd8f74757b0045b98c923
tree20071faf3e82a3159849649ae3b78a23a6bfc8f5
parentcff70878b66a980037868d72ca0e0fb9e9b52397
ximagesink: Ask pad peer to accept new caps once only

In buffer_alloc, if the buffer caps are new, call
gst_pad_peer_accept_caps once only, it's useless to call it in the
cases where we know it will always fail.

Fixes bug #621190
sys/ximage/ximagesink.c
sys/ximage/ximagesink.h