winks: add missing default switch case
authorAndoni Morales Alastruey <ylatuya@gmail.com>
Tue, 7 Aug 2012 16:23:37 +0000 (18:23 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 7 Aug 2012 17:05:10 +0000 (19:05 +0200)
sys/winks/gstksvideosrc.c

index 1f58698..fa831f1 100644 (file)
@@ -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;