pad: return ANY for a pad without template
authorWim Taymans <wim.taymans@collabora.co.uk>
Thu, 8 Mar 2012 08:45:06 +0000 (09:45 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Thu, 8 Mar 2012 09:34:42 +0000 (10:34 +0100)
commit7b8263de93d7dcaff25fde666e9cf84dc9e9fcd6
treea5210d047e619c4b649198f110448d2e57bddfed
parent4232b47685316966b8e1e8a1dd7d72b156d5b8a1
pad: return ANY for a pad without template

Because gst_pad_get_pad_template_caps() returns ANY when there is no template,
the query caps function should also return ANY when there is no template (and no
pad current caps) instead of EMPTY.
gst/gstpad.c
tests/check/gst/gstpad.c