mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
Added a g_assert when a filled bufpen is overwritten.
Original commit message from CVS: Added a g_assert when a filled bufpen is overwritten.
This commit is contained in:
parent
abf2bfc273
commit
dd666aaeff
1 changed files with 1 additions and 0 deletions
|
@ -148,6 +148,7 @@ gst_schedule_pushfunc_proxy (GstPad *pad, GstBuffer *buf)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
g_assert (GST_RPAD_BUFPEN(GST_RPAD_PEER(pad)) == NULL);
|
||||||
// now fill the bufferpen and switch so it can be consumed
|
// now fill the bufferpen and switch so it can be consumed
|
||||||
GST_RPAD_BUFPEN(GST_RPAD_PEER(pad)) = buf;
|
GST_RPAD_BUFPEN(GST_RPAD_PEER(pad)) = buf;
|
||||||
GST_DEBUG (GST_CAT_DATAFLOW,"switching to %p\n",GST_ELEMENT (GST_PAD_PARENT (pad))->threadstate);
|
GST_DEBUG (GST_CAT_DATAFLOW,"switching to %p\n",GST_ELEMENT (GST_PAD_PARENT (pad))->threadstate);
|
||||||
|
|
Loading…
Reference in a new issue