subtitleoverlay: replace accept-caps with caps query
authorThiago Santos <thiagoss@osg.samsung.com>
Mon, 11 Jan 2016 21:24:48 +0000 (18:24 -0300)
committerThiago Santos <thiagoss@osg.samsung.com>
Mon, 11 Jan 2016 21:35:29 +0000 (18:35 -0300)
commit20f6af651b61010cf1eef89bdf8f5347fcd4e9df
tree44cdf82ba3c37873c8919ace72db2577585d7c95
parent2f7cd8608ac9b680aae4f5312c9cd003aafe805e
subtitleoverlay: replace accept-caps with caps query

Those accept caps are actually checking if downstream supports
some particular caps to check if it need to negotiate a different
format. Checking only the next element with accept-caps is not enough
to guarantee that it is supported.

Using a caps query makes it obtain the supported caps for downstream
as a whole instead of only the next element.
gst/playback/gstsubtitleoverlay.c