pad: get_allowed_caps() should go through both pads
authorEdward Hervey <edward@centricular.com>
Sat, 8 Aug 2015 12:42:52 +0000 (14:42 +0200)
committerEdward Hervey <bilboed@bilboed.com>
Sat, 8 Aug 2015 12:51:59 +0000 (14:51 +0200)
commit2499349d9461e05bdfd89063e137bf505a5619e8
tree57badd6bfe6c934cd44fe93385aec1f89848f045
parent0eb9dde1e803cfff490632553a13f705693710b6
pad: get_allowed_caps() should go through both pads

The previous implementation was doing a direct call to the peer pad,
which resulted in query probes never being called on the original pad.

Instead of that, get the peer pad caps by using gst_pad_peer_query()
which will call probes in the expected fashion.
gst/gstpad.c