[longomatch] Add missing break sentences in the switch
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Add missing break sentences in the switch
- Date: Wed, 9 Jun 2010 19:59:26 +0000 (UTC)
commit d30632107b8e38d5d416964ad64e722fada6c2ce
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Wed Jun 9 21:55:43 2010 +0200
Add missing break sentences in the switch
libcesarplayer/src/gst-camera-capturer.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/libcesarplayer/src/gst-camera-capturer.c b/libcesarplayer/src/gst-camera-capturer.c
index 57f067c..590d98c 100644
--- a/libcesarplayer/src/gst-camera-capturer.c
+++ b/libcesarplayer/src/gst-camera-capturer.c
@@ -997,6 +997,7 @@ gst_camera_capturer_set_source (GstCameraCapturer * gcc,
{
gcc->priv->videosrc = gst_camera_capture_create_source_bin (gcc);
/*gcc->priv->audiosrc = gcc->priv->videosrc;*/
+ break;
}
case GST_CAMERA_CAPTURE_SOURCE_TYPE_RAW:
default:
@@ -1005,6 +1006,7 @@ gst_camera_capturer_set_source (GstCameraCapturer * gcc,
RAWVIDEOSRC);
gcc->priv->videosrc = gst_parse_bin_from_description (bin, TRUE, err);
gcc->priv->audiosrc = gst_element_factory_make (AUDIOSRC, "audiosource");
+ break;
}
}
if (*err) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]