From d31a648d7542f4a86d5e184654c8ca63d2c6262f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Tue, 25 Mar 2008 12:39:22 +0000 Subject: [PATCH] sys/v4l2/v4l2src_calls.c: Remove superfluous DEBUG macro. Original commit message from CVS: * sys/v4l2/v4l2src_calls.c: (gst_v4l2src_set_capture): Remove superfluous DEBUG macro. --- ChangeLog | 5 +++++ sys/v4l2/v4l2src_calls.c | 9 ++------- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4a95cb1..e2fa874 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2008-03-25 Tim-Philipp Müller + * sys/v4l2/v4l2src_calls.c: (gst_v4l2src_set_capture): + Remove superfluous DEBUG macro. + +2008-03-25 Tim-Philipp Müller + Based on patch by: William M. Brack * sys/v4l2/v4l2src_calls.c: (fractions_are_equal), diff --git a/sys/v4l2/v4l2src_calls.c b/sys/v4l2/v4l2src_calls.c index b00d97d..914a3c3 100644 --- a/sys/v4l2/v4l2src_calls.c +++ b/sys/v4l2/v4l2src_calls.c @@ -51,11 +51,6 @@ GST_DEBUG_CATEGORY_EXTERN (v4l2src_debug); #define GST_V4L2_SET_ACTIVE(element) (element)->buffer = GINT_TO_POINTER (-1) #define GST_V4L2_SET_INACTIVE(element) (element)->buffer = NULL -#define DEBUG(format, args...) \ - GST_CAT_DEBUG_OBJECT (\ - v4l2src_debug, v4l2src, \ - "V4L2SRC: " format, ##args) - /* On some systems MAP_FAILED seems to be missing */ #ifndef MAP_FAILED #define MAP_FAILED ((caddr_t) -1) @@ -1138,8 +1133,8 @@ gst_v4l2src_set_capture (GstV4l2Src * v4l2src, guint32 pixelformat, struct v4l2_format format; struct v4l2_streamparm stream; - DEBUG ("Setting capture format to %dx%d, format %" GST_FOURCC_FORMAT, - width, height, GST_FOURCC_ARGS (pixelformat)); + GST_DEBUG_OBJECT (v4l2src, "Setting capture format to %dx%d, format " + "%" GST_FOURCC_FORMAT, width, height, GST_FOURCC_ARGS (pixelformat)); GST_V4L2_CHECK_OPEN (v4l2src->v4l2object); GST_V4L2_CHECK_NOT_ACTIVE (v4l2src->v4l2object); -- 2.7.4