[farsight2/master] Break in switch

Olivier Crête olivier.crete at collabora.co.uk
Tue Dec 23 15:20:11 PST 2008


---
 gst/fsrtpconference/fs-rtp-stream.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gst/fsrtpconference/fs-rtp-stream.c b/gst/fsrtpconference/fs-rtp-stream.c
index 9392726..4e12a4e 100644
--- a/gst/fsrtpconference/fs-rtp-stream.c
+++ b/gst/fsrtpconference/fs-rtp-stream.c
@@ -321,10 +321,10 @@ fs_rtp_stream_set_property (GObject *object,
       break;
     case PROP_DIRECTION:
       self->priv->direction = g_value_get_enum (value);
-      if (self->priv->stream_transmitter) {
+      if (self->priv->stream_transmitter)
         g_object_set (self->priv->stream_transmitter, "sending",
           self->priv->direction & FS_DIRECTION_SEND, NULL);
-      }
+      break;
     default:
       G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
       break;
-- 
1.5.6.5




More information about the farsight-commits mailing list