gstpad: Move sticky flag clearing code to gst_pad_activate_mode
authorJan Schmidt <thaytan@noraisin.net>
Wed, 11 Jul 2012 14:34:22 +0000 (00:34 +1000)
committerJan Schmidt <thaytan@noraisin.net>
Wed, 11 Jul 2012 14:41:23 +0000 (00:41 +1000)
commit524b56cb079cec68b8f5a25ead48ba48c3311d35
tree643849fb3e047f1c7bb0c8a2d7c8afb17a7c522c
parentb277243fa6f8afea99f6dca6a10d78aac228debf
gstpad: Move sticky flag clearing code to gst_pad_activate_mode

The ghostpad code directly activates/deactivates the child code by
calling gst_pad_activate_mode, rather than gst_pad_set_active, so
make sure to clear the flags in gst_pad_activate_mode(), which should
catch all cases.
gst/gstpad.c