#include <GstQgcBinChain.h>
Public Member Functions | |
| BinChain (GstBin *bin) | |
| ~BinChain () | |
| BinChain (const BinChain &)=delete | |
| BinChain & | operator= (const BinChain &)=delete |
| GstElement * | adopt (GstElement *element) |
| bool | linkChain (std::initializer_list< GstElement * > chain) |
| bool | ghostSink (GstElement *head) |
| void | commit () |
Static Public Attributes | |
| static constexpr std::size_t | kMaxElements = 5 |
| The longest chain qgcvideosinkbin builds: videoconvert ! videoscale ! glupload ! glcolorconvert ! qgcqvideosink. | |
Linked element chain with automatic rollback: adopt() elements, linkChain() in flow order, ghostSink() the head, commit() on success; ~BinChain unwinds the rest.
Definition at line 12 of file GstQgcBinChain.h.
|
inlineexplicit |
Definition at line 18 of file GstQgcBinChain.h.
Referenced by BinChain(), and operator=().
|
inline |
Definition at line 22 of file GstQgcBinChain.h.
|
delete |
References BinChain().
|
inline |
Adds element to the bin and returns it (owned by the bin), or nullptr when the bin rejects it. Consumes the caller's ref, floating or not, either way.
Definition at line 40 of file GstQgcBinChain.h.
Referenced by add_converter(), and gst_qgc_video_sink_bin_setup().
|
inline |
Definition at line 92 of file GstQgcBinChain.h.
Referenced by gst_qgc_video_sink_bin_setup().
|
inline |
Definition at line 73 of file GstQgcBinChain.h.
Referenced by gst_qgc_video_sink_bin_setup().
|
inline |
Definition at line 58 of file GstQgcBinChain.h.
Referenced by add_converter(), and gst_qgc_video_sink_bin_setup().
References BinChain().
|
staticconstexpr |
The longest chain qgcvideosinkbin builds: videoconvert ! videoscale ! glupload ! glcolorconvert ! qgcqvideosink.
Definition at line 16 of file GstQgcBinChain.h.