log failing OMX calls as errors
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Fri, 1 Dec 2017 11:43:19 +0000 (12:43 +0100)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Mon, 29 Jan 2018 17:47:56 +0000 (17:47 +0000)
commit0f702d050301f847635f99bd9241852dabedab21
tree5f789caa571512524b0c3a32341a225f03a0f6a9
parent65cc312aa8453677a5b72df89db94ba3fab49b86
log failing OMX calls as errors

I find it confusing when debugging that OMX calls returning an error
where not logged as GST_LEVEL_ERROR making them harder to spot.
Fix this by introducing simple log macros checking the return value of
the OMX call and logging failures as errors.

https://bugzilla.gnome.org/show_bug.cgi?id=791069
omx/gstomx.c