From 6c4269c0e56e364b03ea7ea313376eb2931ddbc8 Mon Sep 17 00:00:00 2001 From: Arun Raghavan Date: Tue, 1 Jul 2014 11:56:59 +0530 Subject: [PATCH] openni2src: Make the location property not be mandatory Our calls to device open already handle the unset location case (by opening any available device). https://bugzilla.gnome.org/show_bug.cgi?id=732535 --- ext/openni2/gstopenni2src.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/ext/openni2/gstopenni2src.cpp b/ext/openni2/gstopenni2src.cpp index a1fd0e4a86..b626bcfe46 100644 --- a/ext/openni2/gstopenni2src.cpp +++ b/ext/openni2/gstopenni2src.cpp @@ -380,10 +380,6 @@ gst_openni2_src_change_state (GstElement * element, GstStateChange transition) return GST_STATE_CHANGE_FAILURE; break; case GST_STATE_CHANGE_READY_TO_PAUSED: - if (!src->uri_name) { - GST_ERROR_OBJECT (src, "Invalid location"); - return ret; - } break; case GST_STATE_CHANGE_PAUSED_TO_PLAYING: break;