pad-monitor: move caps check to common event handling
authorThiago Santos <thiago.sousa.santos@collabora.com>
Tue, 3 Sep 2013 18:17:05 +0000 (15:17 -0300)
committerThiago Santos <thiago.sousa.santos@collabora.com>
Tue, 3 Sep 2013 18:17:05 +0000 (15:17 -0300)
commit26cff77b729309b9fa247b40d9d150fac51cdaf4
tree90bdd43504ec847798dffd6a3d58d0c79bc17ceb
parentbd0f19c105c4c117c8e6f8786e90b4ae468dfe74
pad-monitor: move caps check to common event handling

Allows both src and sink pad to keep track of the current caps, but
the duplicated caps check is still only applied to sink pads as
src pads can push the same caps multiple times when it isn't linked
validate/gst/validate/gst-validate-pad-monitor.c