ghostpad: copy sticky events to SRC ghostpads
authorWim Taymans <wtaymans@redhat.com>
Thu, 21 Nov 2013 13:13:16 +0000 (14:13 +0100)
committerWim Taymans <wtaymans@redhat.com>
Thu, 21 Nov 2013 13:13:16 +0000 (14:13 +0100)
commit8162a583a4dd68582bf186e2e47a8f0d68fa1980
tree38dd5e79ac0604f06352a81ea7914aa268afacb1
parente5c5d3de7e543ef9bf12952d848ad0b96d158821
ghostpad: copy sticky events to SRC ghostpads

Update the sticky events on SRC ghostpads when retargeting. This ensures
that the ghostpad has the exect same sticky events as the target pad. We
don't want to do this for SINK ghostpads, they got the events from
downstream and we don't want to overwrite them with the target pad
events.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=707621
gst/gstghostpad.c