EDIT:
My intension was to write (but it does not matter really) #ifdef GST_DEVICE_MONITOR
#else
#endif
Check: /usr/include/gstreamer-1.0/gst/gst.h /usr/include/gstreamer-1.0/gst/gstdevice*.h
Check the version of Gstreamer: $ gst-launch-1.0 --version
gst-launch-1.0 version 1.4.3 GStreamer 1.4.3
EDIT:
My intension was to write (but it does not matter really)
#ifdef GST_DEVICE_MONITOR
#else
#endif
Check: include/ gstreamer- 1.0/gst/ gst.h include/ gstreamer- 1.0/gst/ gstdevice* .h
/usr/
/usr/
Check the version of Gstreamer:
$ gst-launch-1.0 --version
gst-launch-1.0 version 1.4.3
GStreamer 1.4.3