sys/v4l/gstv4lelement.c: Fix compilation if HAVE_XVIDEO is not defined

Original commit message from CVS:
2004-11-11  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* sys/v4l/gstv4lelement.c: (gst_v4l_iface_supported):
Fix compilation if HAVE_XVIDEO is not defined
This commit is contained in:
Zaheer Abbas Merali 2004-11-11 14:20:17 +00:00
parent f0fac61840
commit d837173e63
2 changed files with 9 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2004-11-11 Zaheer Abbas Merali <zaheerabbas at merali dot org>
* sys/v4l/gstv4lelement.c: (gst_v4l_iface_supported):
Fix compilation if HAVE_XVIDEO is not defined
2004-11-11 Jan Schmidt <thaytan@mad.scientist.com>
* gst/goom/gstgoom.c: (gst_goom_class_init), (gst_goom_init),

View file

@ -82,7 +82,10 @@ static gboolean
gst_v4l_iface_supported (GstImplementsInterface * iface, GType iface_type)
{
g_assert (iface_type == GST_TYPE_TUNER ||
iface_type == GST_TYPE_X_OVERLAY || iface_type == GST_TYPE_COLOR_BALANCE);
#ifdef HAVE_XVIDEO
iface_type == GST_TYPE_X_OVERLAY ||
#endif
iface_type == GST_TYPE_COLOR_BALANCE);
return TRUE;
}