camerabin: remove timeoverlay build-time definition

This commit is contained in:
Teemu Katajisto 2009-10-27 16:28:25 +02:00 committed by Stefan Kost
parent 966c83dfea
commit 7d65643656
2 changed files with 0 additions and 8 deletions

View file

@ -580,13 +580,6 @@ gst_camerabin_video_create_elements (GstCameraBinVideo * vid)
vid->vid_tee_probe_id = gst_pad_add_buffer_probe (vid->tee_video_srcpad,
G_CALLBACK (camerabin_video_pad_tee_src0_have_buffer), vid);
#ifdef USE_TIMEOVERLAY
/* Add timeoverlay element to visualize elapsed time for debugging */
if (!(gst_camerabin_create_and_add_element (vidbin, "timeoverlay"))) {
goto error;
}
#endif
/* Add user set or default video encoder element */
if (vid->user_vid_enc) {
vid->vid_enc = vid->user_vid_enc;

View file

@ -24,7 +24,6 @@
#include <gst/gstbin.h>
G_BEGIN_DECLS
//#define USE_TIMEOVERLAY 1
#define ARG_DEFAULT_MUTE FALSE
#define GST_TYPE_CAMERABIN_VIDEO (gst_camerabin_video_get_type())
#define GST_CAMERABIN_VIDEO_CAST(obj) ((GstCameraBinVideo*)(obj))