Property Name |
Type |
Range |
Default |
Description |
|---|---|---|---|---|
sync |
Boolean |
True/False |
True |
This property is to enable the synchronization between master and slave pads buffers. If sync=true is set, then the metadata is scaled and attached to buffers on slave pads that have matching PTS or PTS falls within frame duration of the buffer on the master sink pad. If sync=false is set on the element, then the metadata is scaled and attached to all the buffers on the slave pads. If this option is used, there is possibility that the metadata is not suitable for the frames/buffers that are not corresponding to the frames/buffers on the master pad. |
timeout |
Int64 |
-1 to 9223372036854 |
2000 |
Timeout in milliseconds. The plug-in will wait for a “timeout” duration for a buffer on other pads before pushing the buffer on the output pad. This is to avoid a hang in case the buffers are arriving at different frame rates and the slave pad buffer is waiting for another buffer at the master pad (which might not arrive as there is no more buffers available). |
Signal Name |
Description |
callback |
|---|---|---|
pad-added |
This signal will be emitted when a new pad is added. |
void user_function (GstElement* object, GstPad* arg0, gpointer user_data); |
pad-removed |
This signal will be emitted when a new pad is removed. |
void user_function (GstElement* object, GstPad* arg0, gpointer user_data); |