applemedia: vtdec: fix negotiation more
authorAlessandro Decina <alessandro.d@gmail.com>
Tue, 17 Nov 2015 05:08:17 +0000 (16:08 +1100)
committerAlessandro Decina <alessandro.d@gmail.com>
Tue, 17 Nov 2015 05:15:53 +0000 (16:15 +1100)
commit3d5a1ccbf4e5b036164a02c6bd6b0b0ddab19880
treedfd9a4ad33e3c579c039452b89b1f46a9ac2cce1
parent94cd5316f33025a91fc39157b655cf7134cd0d9c
applemedia: vtdec: fix negotiation more

Year 12: I still don't understand how negotiation works.

Apparently gst_pad_query_caps doesn't do what I thought it did. To get the
actual caps that can flow through vtdec:src we must call gst_pad_peer_query_caps
with the template caps as filter.

Fixes negotiation with stuff that doesn't understand GLMemory (hello videoscale).
sys/applemedia/vtdec.c