mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-20 04:56:24 +00:00
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:
parent
0681b3075c
commit
94c519cead
2 changed files with 7 additions and 1 deletions
|
@ -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>
|
2007-10-25 Tim-Philipp Müller <tim at centricular dot net>
|
||||||
|
|
||||||
* ext/taglib/gstid3v2mux.cc (add_funcs):
|
* ext/taglib/gstid3v2mux.cc (add_funcs):
|
||||||
|
|
|
@ -739,11 +739,11 @@ gst_v4l2src_probe_caps_for_format (GstV4l2Src * v4l2src, guint32 pixelformat,
|
||||||
{
|
{
|
||||||
GstCaps *ret;
|
GstCaps *ret;
|
||||||
GstStructure *tmp;
|
GstStructure *tmp;
|
||||||
GList *results = NULL;
|
|
||||||
|
|
||||||
#ifdef VIDIOC_ENUM_FRAMESIZES
|
#ifdef VIDIOC_ENUM_FRAMESIZES
|
||||||
gint fd = v4l2src->v4l2object->video_fd;
|
gint fd = v4l2src->v4l2object->video_fd;
|
||||||
struct v4l2_frmsizeenum size;
|
struct v4l2_frmsizeenum size;
|
||||||
|
GList *results = NULL;
|
||||||
guint32 w, h;
|
guint32 w, h;
|
||||||
|
|
||||||
ret = gst_caps_new_empty ();
|
ret = gst_caps_new_empty ();
|
||||||
|
|
Loading…
Reference in a new issue