pleorasrc: add config-file and config-file-connect properties

If config-file is set to the filepath of a XML file, such as is
generated by eBUS Player, it will be used to restore configuration
to the device and stream. By default, the device and stream will be
connected using the information from the config-file. Set
config-file-connect=false to connect to the camera using other element
properties, and then apply the configuration changes from the
config-file.
This commit is contained in:
Joshua M. Doe
2019-10-21 11:00:24 -04:00
parent e4ae64b44b
commit 19ce118c96
2 changed files with 240 additions and 72 deletions

View File

@@ -56,6 +56,8 @@ struct _GstPleoraSrc
gint port;
gboolean receiver_only;
gint packet_size;
gchar *config_file;
gboolean config_file_connect;
guint32 last_frame_count;
guint32 total_dropped_frames;