mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-22 14:06:23 +00:00
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:
parent
6e65486b0d
commit
180b4346fd
2 changed files with 7 additions and 0 deletions
|
@ -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>
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue