summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorArun Raghavan <arun@accosted.net>2014-07-01 11:56:59 +0530
committerArun Raghavan <arun@accosted.net>2014-07-03 23:08:22 +0530
commit6c4269c0e56e364b03ea7ea313376eb2931ddbc8 (patch)
treed20020c31bdfbbf986d503d17f7ff1b080b460bf /ext
parent7afb4a386ad3af3825c4e29a1b7bc0f68f825a3a (diff)
downloadgstreamer-plugins-bad-6c4269c0e56e364b03ea7ea313376eb2931ddbc8.tar.gz
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
Diffstat (limited to 'ext')
-rw-r--r--ext/openni2/gstopenni2src.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/ext/openni2/gstopenni2src.cpp b/ext/openni2/gstopenni2src.cpp
index a1fd0e4a8..b626bcfe4 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;