mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 01:30:38 +00:00
winks: add missing default switch case
This commit is contained in:
parent
71c1a0e999
commit
a3519d59ef
1 changed files with 4 additions and 0 deletions
|
@ -721,6 +721,8 @@ gst_ks_video_src_change_state (GstElement * element, GstStateChange transition)
|
||||||
if (!gst_ks_video_src_start_worker (self))
|
if (!gst_ks_video_src_start_worker (self))
|
||||||
goto open_failed;
|
goto open_failed;
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
ret = GST_ELEMENT_CLASS (parent_class)->change_state (element, transition);
|
ret = GST_ELEMENT_CLASS (parent_class)->change_state (element, transition);
|
||||||
|
@ -729,6 +731,8 @@ gst_ks_video_src_change_state (GstElement * element, GstStateChange transition)
|
||||||
case GST_STATE_CHANGE_READY_TO_NULL:
|
case GST_STATE_CHANGE_READY_TO_NULL:
|
||||||
gst_ks_video_src_stop_worker (self);
|
gst_ks_video_src_stop_worker (self);
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
|
|
Loading…
Reference in a new issue