mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 10:41:04 +00:00
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.
This commit is contained in:
parent
e605a94e40
commit
d31a648d75
2 changed files with 7 additions and 7 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
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>
|
2008-03-25 Tim-Philipp Müller <tim at centricular dot net>
|
||||||
|
|
||||||
Based on patch by: William M. Brack <wbrack at mmm com hk>
|
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_ACTIVE(element) (element)->buffer = GINT_TO_POINTER (-1)
|
||||||
#define GST_V4L2_SET_INACTIVE(element) (element)->buffer = NULL
|
#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 */
|
/* On some systems MAP_FAILED seems to be missing */
|
||||||
#ifndef MAP_FAILED
|
#ifndef MAP_FAILED
|
||||||
#define MAP_FAILED ((caddr_t) -1)
|
#define MAP_FAILED ((caddr_t) -1)
|
||||||
|
@ -1138,8 +1133,8 @@ gst_v4l2src_set_capture (GstV4l2Src * v4l2src, guint32 pixelformat,
|
||||||
struct v4l2_format format;
|
struct v4l2_format format;
|
||||||
struct v4l2_streamparm stream;
|
struct v4l2_streamparm stream;
|
||||||
|
|
||||||
DEBUG ("Setting capture format to %dx%d, format %" GST_FOURCC_FORMAT,
|
GST_DEBUG_OBJECT (v4l2src, "Setting capture format to %dx%d, format "
|
||||||
width, height, GST_FOURCC_ARGS (pixelformat));
|
"%" GST_FOURCC_FORMAT, width, height, GST_FOURCC_ARGS (pixelformat));
|
||||||
|
|
||||||
GST_V4L2_CHECK_OPEN (v4l2src->v4l2object);
|
GST_V4L2_CHECK_OPEN (v4l2src->v4l2object);
|
||||||
GST_V4L2_CHECK_NOT_ACTIVE (v4l2src->v4l2object);
|
GST_V4L2_CHECK_NOT_ACTIVE (v4l2src->v4l2object);
|
||||||
|
|
Loading…
Reference in a new issue