bufferStrawGetBuffer

Get one buffer from pad. Implemented via buffer probes. This function will block until the pipeline passes a buffer over pad, so for robust behavior in unit tests, you need to use check's timeout to fail out in the case that a buffer never arrives.

You must have previously called gstcheck.global.bufferStrawStartPipeline on pipeline and pad.

Parameters

bin gst.element.Element

the pipeline previously started via gstcheck.global.bufferStrawStartPipeline

pad gst.pad.Pad

the pad previously passed to gstcheck.global.bufferStrawStartPipeline

Return Value

Type: gst.buffer.Buffer

the captured #GstBuffer.