mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +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))
|
||||
goto open_failed;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
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:
|
||||
gst_ks_video_src_stop_worker (self);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
return ret;
|
||||
|
|
Loading…
Reference in a new issue