Commit 6c4269c0 authored by Arun Raghavan's avatar Arun Raghavan

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
parent 7afb4a38
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment