gst/gstpad.c: Use some more macros where it makes sense.
authorWim Taymans <wim.taymans@gmail.com>
Sun, 9 Jul 2006 13:26:06 +0000 (13:26 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Sun, 9 Jul 2006 13:26:06 +0000 (13:26 +0000)
commit9d81fe82c72699ec0b9fc0ec09ff67074e0908c9
treecfc2992a8c0c45926a02bb2abcd636e6f8487da8
parent2ef04375e6fac0438cf42874b589f69dc20dc77d
gst/gstpad.c: Use some more macros where it makes sense.

Original commit message from CVS:
* gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
(gst_pad_activate_push):
Use some more macros where it makes sense.
Allow pad mode switching instead of asserting. When a pad
is activated in one mode and we activate it in another,
deactivate it first before activating it in a different mode.
Fixes #329198.
ChangeLog
gst/gstpad.c