sys/v4l2/v4l2src_calls.c: Fix 'unused variable' compiler warning when compiling against older kernel headers.

Original commit message from CVS:
* sys/v4l2/v4l2src_calls.c:
Fix 'unused variable' compiler warning when compiling against
older kernel headers.
This commit is contained in:
Tim-Philipp Müller 2007-10-26 15:03:06 +00:00
parent 0681b3075c
commit 94c519cead
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2007-10-26 Tim-Philipp Müller <tim at centricular dot net>
* sys/v4l2/v4l2src_calls.c:
Fix 'unused variable' compiler warning when compiling against
older kernel headers.
2007-10-25 Tim-Philipp Müller <tim at centricular dot net>
* ext/taglib/gstid3v2mux.cc (add_funcs):

View file

@ -739,11 +739,11 @@ gst_v4l2src_probe_caps_for_format (GstV4l2Src * v4l2src, guint32 pixelformat,
{
GstCaps *ret;
GstStructure *tmp;
GList *results = NULL;
#ifdef VIDIOC_ENUM_FRAMESIZES
gint fd = v4l2src->v4l2object->video_fd;
struct v4l2_frmsizeenum size;
GList *results = NULL;
guint32 w, h;
ret = gst_caps_new_empty ();