gst/gstpad.c (pre_activate): Renamed from pre_activate_switch, take the mode we're...
authorAndy Wingo <wingo@pobox.com>
Tue, 11 Oct 2005 15:23:10 +0000 (15:23 +0000)
committerAndy Wingo <wingo@pobox.com>
Tue, 11 Oct 2005 15:23:10 +0000 (15:23 +0000)
commit3ef37179a1405270b4911db22eda08562bfc9fdf
treeaf4b921ecdb22a3a600dfa2a1ab381cbb01d4cab
parent4dd6c2a587bd8a0824840f80fee41648080c8085
gst/gstpad.c (pre_activate): Renamed from pre_activate_switch, take the mode we're going to as an arg. Go head and se...

Original commit message from CVS:
2005-10-11  Andy Wingo  <wingo@pobox.com>

* gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
take the mode we're going to as an arg. Go head and set the mode
and flushing flags now, so that if the activate function starts a
thread all the flags will be in the right state.
(post_activate): Renamed also. Just handle making sure streaming
finishes for the deactivation case, and setting the deactivated
mode.
(gst_pad_set_active): Complain loudly if deactivation fails.
(gst_pad_activate_pull): Adapt to pre/post_activate changes.
(gst_pad_activate_push): Adapt to pre/post_activate changes,
remove the terrible hack.
ChangeLog
gst/gstpad.c