pad-monitor: Move repeated caps to test only on sinkpads
authorThiago Santos <thiago.sousa.santos@collabora.com>
Tue, 27 Aug 2013 14:48:00 +0000 (11:48 -0300)
committerThiago Santos <thiago.sousa.santos@collabora.com>
Tue, 27 Aug 2013 14:48:00 +0000 (11:48 -0300)
commit2ba098976aceb6ae49078f5d1aa17db182e8c847
tree8620bca29bb9db2bdb3b5830d0f75b777e58668f
parentb591f11b153de1211994e7d513f19eac56651768
pad-monitor: Move repeated caps to test only on sinkpads

Testing on source pads can lead to false positives when pads are
unlinked. The caps event is sticky and will be pushed again later
when another buffer/event is pushed, leading to an acceptable
situation to push the caps twice.
validate/gst/validate/gst-validate-pad-monitor.c