Original commit message from CVS:
2005-06-17 Andy Wingo <wingo@pobox.com>
* gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
assert; it's always possible that the pad gets deactivated in
between the checks in gstpad.c and the implementation. Rely on
finish_preroll() to return a FLUSHING or similar instead of on the
assert.
{
GstFlowReturn result;
- g_assert (GST_BASESINK (GST_OBJECT_PARENT (pad))->pad_mode ==
- GST_ACTIVATE_PUSH);
-
result = gst_basesink_chain_unlocked (pad, buf);
return result;
{
GstFlowReturn result;
- g_assert (GST_BASESINK (GST_OBJECT_PARENT (pad))->pad_mode ==
- GST_ACTIVATE_PUSH);
-
result = gst_basesink_chain_unlocked (pad, buf);
return result;