Original commit message from CVS:
* sys/v4l/gstv4lelement.c (gst_v4l_iface_supported): Remove bogus
checks. Doesn't matter what state we are in. Interfaces are a
compile time thing, not runtime. It also broke the python bindings.
+2004-08-12 Johan Dahlin <johan@gnome.org>
+
+ * sys/v4l/gstv4lelement.c (gst_v4l_iface_supported): Remove bogus
+ checks. Doesn't matter what state we are in. Interfaces are a
+ compile time thing, not runtime. It also broke the python bindings.
+
2004-08-12 Zaheer Abbas Merali <zaheerabbas at merali dot org>
* ext/lame/gstlame.c: (gst_lame_src_link):
static gboolean
gst_v4l_iface_supported (GstImplementsInterface * iface, GType iface_type)
{
- GstV4lElement *v4lelement = GST_V4LELEMENT (iface);
-
g_assert (iface_type == GST_TYPE_TUNER ||
iface_type == GST_TYPE_X_OVERLAY || iface_type == GST_TYPE_COLOR_BALANCE);
- if (v4lelement->video_fd == -1)
- return FALSE;
-
- if (iface_type == GST_TYPE_X_OVERLAY && !GST_V4L_IS_OVERLAY (v4lelement))
- return FALSE;
-
return TRUE;
}