sys/v4l/gstv4lelement.c (gst_v4l_iface_supported): Fix compile for #ifndef HAVE_XVIDEO.

Original commit message from CVS:
2005-01-25  Andy Wingo  <wingo@pobox.com>

* sys/v4l/gstv4lelement.c (gst_v4l_iface_supported): Fix compile
for #ifndef HAVE_XVIDEO.
This commit is contained in:
Andy Wingo 2005-01-25 09:06:19 +00:00
parent 6e65486b0d
commit 180b4346fd
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2005-01-25 Andy Wingo <wingo@pobox.com>
* sys/v4l/gstv4lelement.c (gst_v4l_iface_supported): Fix compile
for #ifndef HAVE_XVIDEO.
2005-01-24 Jeffrey C. Ollie
reviewed by: Maciej Katafiasz <mathrick@freedesktop.org>

View file

@ -94,8 +94,10 @@ gst_v4l_iface_supported (GstImplementsInterface * iface, GType iface_type)
if (v4lelement->video_fd == -1)
return FALSE;
#ifdef HAVE_XVIDEO
if (iface_type == GST_TYPE_X_OVERLAY && !GST_V4L_IS_OVERLAY (v4lelement))
return FALSE;
#endif
return TRUE;
}