mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus assert; it's always possible that the pad gets deactivated ...
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.
This commit is contained in:
parent
d47ea57975
commit
355499790b
2 changed files with 0 additions and 6 deletions
|
@ -739,9 +739,6 @@ gst_basesink_chain (GstPad * pad, GstBuffer * buf)
|
|||
{
|
||||
GstFlowReturn result;
|
||||
|
||||
g_assert (GST_BASESINK (GST_OBJECT_PARENT (pad))->pad_mode ==
|
||||
GST_ACTIVATE_PUSH);
|
||||
|
||||
result = gst_basesink_chain_unlocked (pad, buf);
|
||||
|
||||
return result;
|
||||
|
|
|
@ -739,9 +739,6 @@ gst_basesink_chain (GstPad * pad, GstBuffer * buf)
|
|||
{
|
||||
GstFlowReturn result;
|
||||
|
||||
g_assert (GST_BASESINK (GST_OBJECT_PARENT (pad))->pad_mode ==
|
||||
GST_ACTIVATE_PUSH);
|
||||
|
||||
result = gst_basesink_chain_unlocked (pad, buf);
|
||||
|
||||
return result;
|
||||
|
|
Loading…
Reference in a new issue