Import line: | GstCheck = imports.gi.GstCheck; |
GIR File: | GstCheck-0.10.gir |
C documentation: | GstCheck |
Namespace : | GstCheck |
Show / Hide Inherited methods, properties and signals |
Properties | |
---|---|
Number GstCheck.CHECK_MAJOR_VERSION : 0
|
|
Number GstCheck.CHECK_MICRO_VERSION : 8
|
|
Number GstCheck.CHECK_MINOR_VERSION : 9
|
None |
Method / Constructor | Defined By | |
---|---|---|
|
GstCheck | |
Get one buffer from pad.
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 gst_buffer_straw_start_pipeline() on
|
GstCheck | |
Sets up a pipeline for buffer sucking.
Sets up a pipeline for buffer sucking. This will allow you to call gst_buffer_straw_get_buffer() to access buffers as they pass over pad. This function is normally used in unit tests that want to verify that a particular element is outputting correct buffers. For example, you would make a pipeline via gst_parse_launch(), pull out the pad you want to monitor, then call gst_buffer_straw_get_buffer() to get the buffers that pass through pad. The pipeline will block until you have sucked off the buffers. This function will set the state of bin to PLAYING; to clean up, be sure to call gst_buffer_straw_stop_pipeline(). Note that you may not start two buffer straws at the same time. This function is intended for unit tests, not general API use. In fact it calls fail_if from libcheck, so you cannot use it outside unit tests.
|
GstCheck | |
Set bin to GST_STATE_NULL and release resource allocated in gst_buffer_straw_start_pipeline().
Set bin to GST_STATE_NULL and release resource allocated in gst_buffer_straw_start_pipeline(). You must have previously called gst_buffer_straw_start_pipeline() on
|
GstCheck | |
GstCheck | ||
|
GstCheck | |
GstCheck.check_fork
()
:
Number
|
GstCheck | |
GstCheck.check_waitpid_and_exit
(Number pid)
:
none
|
GstCheck | |
GstCheck.consistency_checker_free
(StreamConsistency consist)
:
none
Frees the allocated data and probe associated with consist.
Frees the allocated data and probe associated with consist.
|
GstCheck | |
Sets up a data probe on the given pad which will raise assertions if the data flow is inconsistent.
Sets up a data probe on the given pad which will raise assertions if the data flow is inconsistent. Currently only works for source pads.
|
GstCheck | |
GstCheck.consistency_checker_reset
(StreamConsistency consist)
:
none
Reset the stream checker's internal variables.
Reset the stream checker's internal variables.
|
GstCheck | |
GstCheck.drop_buffers
()
:
none
Unref and remove all buffers that are in the global buffers GList, emptying the list.
Unref and remove all buffers that are in the global buffers GList, emptying the list.
|
GstCheck | |
Create an element with the factory with the name and push the and this will be compared with buffer_out.
Create an element with the factory with the name and push the and this will be compared with buffer_out. We only check the caps and the data of the buffers. This function unrefs the buffers.
|
GstCheck | |
GstCheck.element_push_buffer_list
(String element_name, Array buffer_in, Array buffer_out, FlowReturn last_flow_return)
:
none
Create an element with the factory with the name and push the buffers in the buffers in buffer_out.
Create an element with the factory with the name and push the buffers in the buffers in buffer_out. We only check the caps, size and the data of the buffers. This function unrefs the buffers in the two lists. The last_flow_return parameter indicates the expected flow return value from pushing the final buffer in the list. This can be used to set up a test which pushes some buffers and then an invalid buffer, when the final buffer is expected to fail, for example.
|
GstCheck | |
GstCheck | ||
|
GstCheck | |
|
GstCheck | |
|
GstCheck | |
|
GstCheck | |
GstCheck.setup_sink_pad_by_name
(Element element, StaticPadTemplate template, String name)
:
Gst.Pad
|
GstCheck | |
|
GstCheck | |
|
GstCheck | |
|
GstCheck | |
|
GstCheck | |
|
GstCheck | |
|
GstCheck | |
GstCheck.srunner_free
(SRunner sr)
:
none
|
GstCheck | |
|
GstCheck | |
|
GstCheck | |
|
GstCheck | |
|
GstCheck | |
|
GstCheck | |
|
GstCheck | |
|
GstCheck | |
|
GstCheck | |
|
GstCheck | |
|
GstCheck | |
|
GstCheck | |
|
GstCheck | |
|
GstCheck | |
|
GstCheck | |
|
GstCheck | |
|
GstCheck | |
GstCheck | ||
|
GstCheck | |
GstCheck.teardown_element
(Element element)
:
none
|
GstCheck | |
|
GstCheck | |
GstCheck.teardown_sink_pad
(Element element)
:
none
|
GstCheck | |
GstCheck.teardown_src_pad
(Element element)
:
none
|
GstCheck | |
|
GstCheck | |
|
GstCheck | |
|
GstCheck | |
|
GstCheck | |
|
GstCheck | |
|
GstCheck |
None |