winks: add missing default switch case

This commit is contained in:
Andoni Morales Alastruey 2012-08-07 18:23:37 +02:00 committed by Sebastian Dröge
parent 71c1a0e999
commit a3519d59ef

View file

@ -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;