From 180b4346fd6470355813221d1e5da1780ff53518 Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Tue, 25 Jan 2005 09:06:19 +0000 Subject: [PATCH] sys/v4l/gstv4lelement.c (gst_v4l_iface_supported): Fix compile for #ifndef HAVE_XVIDEO. Original commit message from CVS: 2005-01-25 Andy Wingo * sys/v4l/gstv4lelement.c (gst_v4l_iface_supported): Fix compile for #ifndef HAVE_XVIDEO. --- ChangeLog | 5 +++++ sys/v4l/gstv4lelement.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index 49540c599..d0e175d3c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-01-25 Andy Wingo + + * sys/v4l/gstv4lelement.c (gst_v4l_iface_supported): Fix compile + for #ifndef HAVE_XVIDEO. + 2005-01-24 Jeffrey C. Ollie reviewed by: Maciej Katafiasz diff --git a/sys/v4l/gstv4lelement.c b/sys/v4l/gstv4lelement.c index 01aac853a..30a1f0abe 100644 --- a/sys/v4l/gstv4lelement.c +++ b/sys/v4l/gstv4lelement.c @@ -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; } -- 2.34.1