diff options
author | Arun Raghavan <arun@accosted.net> | 2014-07-01 11:56:59 +0530 |
---|---|---|
committer | Arun Raghavan <arun@accosted.net> | 2014-07-03 23:08:22 +0530 |
commit | 6c4269c0e56e364b03ea7ea313376eb2931ddbc8 (patch) | |
tree | d20020c31bdfbbf986d503d17f7ff1b080b460bf /ext/openni2 | |
parent | 7afb4a386ad3af3825c4e29a1b7bc0f68f825a3a (diff) | |
download | gstreamer-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/openni2')
-rw-r--r-- | ext/openni2/gstopenni2src.cpp | 4 |
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; |