gst_parse_launch vs building the pipeline in code

Nicolas Dufresne nicolas at ndufresne.ca
Thu Nov 21 20:33:15 UTC 2019


Le jeudi 21 novembre 2019 à 11:00 -0600, shyam a écrit :
> Hi,
> 
>          I am wondering if there is any benefit in building the pipeline in
> code versus using the gst_parse_launch method. I am writing a c++
> application and find the gst_parse_launch method to be very convenient .

In my own projects, I prefer to use gst_parse_launch() /
gst_parse_bin_from_description() when possible, as it makes the code
smaller and faster to read. This is a personal choice, I haven't so far
notice a visible overhead.

regards,
Nicolas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20191121/44fccd1b/attachment.sig>


More information about the gstreamer-devel mailing list