Can not build cheese if gstreamer was built with -Dgst_debug=false
If gstreamer was built with -Dgst_debug=false
, the macro GST_DEBUG_CATEGORY
expand to nothing. Then cheese building process fails with:
libcheese/cheese-camera.c: In function ‘cheese_camera_class_init’:
libcheese/cheese-camera.c:1340:7: error: ‘cheese_camera_cat’ undeclared (first use in this function); did you mean ‘cheese_camera_init’?
if (cheese_camera_cat == NULL)
^~~~~~~~~~~~~~~~~
cheese_camera_init