Commit d31a648d authored by Tim-Philipp Müller's avatar Tim-Philipp Müller 🐠

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.
parent e605a94e
2008-03-25 Tim-Philipp Müller <tim at centricular dot net>
* sys/v4l2/v4l2src_calls.c: (gst_v4l2src_set_capture):
Remove superfluous DEBUG macro.
2008-03-25 Tim-Philipp Müller <tim at centricular dot net>
Based on patch by: William M. Brack <wbrack at mmm com hk>
......
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment