sys/v4l/gstv4lelement.c (gst_v4l_iface_supported): Fix compile for #ifndef HAVE_XVIDEO.
authorAndy Wingo <wingo@pobox.com>
Tue, 25 Jan 2005 09:06:19 +0000 (09:06 +0000)
committerAndy Wingo <wingo@pobox.com>
Tue, 25 Jan 2005 09:06:19 +0000 (09:06 +0000)
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.

ChangeLog
sys/v4l/gstv4lelement.c

index 49540c5996a14a8afefec733eab7a7e31fefe917..d0e175d3cc0afb30c62415401a91d880bdd9c55a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
index 01aac853a5fbabe4354278a63c1ecf004351194f..30a1f0abefac8e6b309365986030002e153e824d 100644 (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;
 }