Home
last modified time | relevance | path

Searched refs:v4l2err (Results 1 – 2 of 2) sorted by relevance

/third_party/gstreamer/gstplugins_good/sys/v4l2/
Dv4l2-utils.c169 gst_v4l2_clear_error (GstV4l2Error * v4l2err) in gst_v4l2_clear_error() argument
171 if (v4l2err) { in gst_v4l2_clear_error()
172 g_clear_error (&v4l2err->error); in gst_v4l2_clear_error()
173 g_free (v4l2err->dbg_message); in gst_v4l2_clear_error()
174 v4l2err->dbg_message = NULL; in gst_v4l2_clear_error()
179 gst_v4l2_error (gpointer element, GstV4l2Error * v4l2err) in gst_v4l2_error() argument
183 if (!v4l2err || !v4l2err->error) in gst_v4l2_error()
186 error = v4l2err->error; in gst_v4l2_error()
191 if (v4l2err->dbg_message) in gst_v4l2_error()
192 GST_WARNING_OBJECT (element, "error: %s", v4l2err->dbg_message); in gst_v4l2_error()
[all …]
Dv4l2-utils.h30 #define GST_V4L2_ERROR(v4l2err,domain,code,msg,dbg) \ argument
32 if (v4l2err) { \
34 v4l2err->error = g_error_new_literal (GST_##domain##_ERROR, \
37 v4l2err->dbg_message = _gst_element_error_printf dbg; \
38 v4l2err->file = __FILE__; \
39 v4l2err->func = GST_FUNCTION; \
40 v4l2err->line = __LINE__; \