mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 06:46:38 +00:00
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
This commit is contained in:
parent
7afb4a386a
commit
6c4269c0e5
1 changed files with 0 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue