gstreamer
Loading...
Searching...
No Matches
gstreamerConventions.h File Reference

Shared constants and error codes for the gstreamer module. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define DEFAULT_GSTREAMER_BUFFER_FLUSH_LIMIT   100
 Default number of buffered events before a GStreamer flushes its internal event buffer.
 
gstreamer error codes

Exit / error codes used by gstreamer components.

These codes are in the 800 range to keep them grouped with other gstreamer-related diagnostics.

#define ERR_GSTREAMERFACTORYNOTFOUND   801
 Plugin factory symbol not found or could not be resolved.
 
#define ERR_GSTREAMERVARIABLEEXISTS   802
 Attempt to register the same output variable twice (ROOT tree branch conflict).
 
#define ERR_CANTOPENOUTPUT   803
 Output medium could not be opened (file/device not accessible).
 
#define ERR_CANTCLOSEOUTPUT   804
 Output medium could not be closed cleanly.
 
#define ERR_PUBLISH_ERROR   805
 Generic publish-time error (null pointers, invalid state).
 

Macro Definition Documentation

◆ DEFAULT_GSTREAMER_BUFFER_FLUSH_LIMIT

#define DEFAULT_GSTREAMER_BUFFER_FLUSH_LIMIT   100

This value is used as a sensible default when no user override is provided via options. Concrete streamers may override the limit at runtime by calling set_loggers().

Definition at line 14 of file gstreamerConventions.h.

◆ ERR_CANTCLOSEOUTPUT

#define ERR_CANTCLOSEOUTPUT   804

Definition at line 27 of file gstreamerConventions.h.

◆ ERR_CANTOPENOUTPUT

#define ERR_CANTOPENOUTPUT   803

Definition at line 26 of file gstreamerConventions.h.

◆ ERR_GSTREAMERFACTORYNOTFOUND

#define ERR_GSTREAMERFACTORYNOTFOUND   801

Definition at line 23 of file gstreamerConventions.h.

◆ ERR_GSTREAMERVARIABLEEXISTS

#define ERR_GSTREAMERVARIABLEEXISTS   802

Definition at line 24 of file gstreamerConventions.h.

◆ ERR_PUBLISH_ERROR

#define ERR_PUBLISH_ERROR   805

Definition at line 28 of file gstreamerConventions.h.