static gboolean
plugin_init (GstPlugin * plugin)
{
+#ifndef TIZEN_FEATURE_DISABLE_V4L2_DEPENDENCY
const gchar *paths[] = { "/dev", "/dev/v4l2", NULL };
const gchar *names[] = { "video", NULL };
+#endif /* TIZEN_FEATURE_DISABLE_V4L2_DEPENDENCY */
GST_DEBUG_CATEGORY_INIT (v4l2_debug, "v4l2", 0, "V4L2 API calls");
-
+#ifndef TIZEN_FEATURE_DISABLE_V4L2_DEPENDENCY
/* Add some depedency, so the dynamic features get updated upon changes in
* /dev/video* */
gst_plugin_add_dependency (plugin,
NULL, paths, names, GST_PLUGIN_DEPENDENCY_FLAG_FILE_NAME_IS_PREFIX);
+#endif /* TIZEN_FEATURE_DISABLE_V4L2_DEPENDENCY */
if (!gst_element_register (plugin, "v4l2src", GST_RANK_PRIMARY,
GST_TYPE_V4L2SRC) ||