Fix code indentation
authorTim-Philipp Müller <tim@centricular.com>
Fri, 6 Nov 2015 19:23:09 +0000 (19:23 +0000)
committerTim-Philipp Müller <tim@centricular.com>
Fri, 6 Nov 2015 19:29:49 +0000 (19:29 +0000)
ext/assrender/gstassrender.c
ext/curl/gstcurlftpsink.c
ext/dtls/gstdtlsdec.c
ext/smoothstreaming/gstmssmanifest.c
gst/geometrictransform/gstmirror.c
gst/onvif/gstrtponviftimestamp.c

index 3695b90778dab3b58a61ee68782e34a7a1b10df6..63895d94af542a3c6e18bc759b4236ded1ffab59 100644 (file)
@@ -995,8 +995,7 @@ gst_ass_render_setcaps_video (GstPad * pad, GstAssRender * render,
 
   GST_ASS_RENDER_LOCK (render);
 
-  if (!render->attach_compo_to_buffer &&
-      !gst_ass_render_can_handle_caps (caps)) {
+  if (!render->attach_compo_to_buffer && !gst_ass_render_can_handle_caps (caps)) {
     GST_DEBUG_OBJECT (render, "unsupported caps %" GST_PTR_FORMAT, caps);
     ret = FALSE;
   }
index 995fe38307d5ec2dccb97ffc1093daca6348a8b3..fde69b801555a2c3f89ffcb4902470d89d2c0a5f 100644 (file)
@@ -230,7 +230,8 @@ set_ftp_dynamic_options_unlocked (GstCurlBaseSink * basesink)
       return FALSE;
     }
 
-    res = curl_easy_setopt (basesink->curl, CURLOPT_POSTQUOTE, sink->headerlist);
+    res =
+        curl_easy_setopt (basesink->curl, CURLOPT_POSTQUOTE, sink->headerlist);
     if (res != CURLE_OK) {
       basesink->error = g_strdup_printf ("failed to set post quote: %s",
           curl_easy_strerror (res));
index eecc458b34de60c1835c3a5833f8363438a7c0c5..f05b4f122479f560be332f6487519e1bc6fbdddb 100644 (file)
@@ -569,7 +569,8 @@ sink_chain (GstPad * pad, GstObject * parent, GstBuffer * buffer)
     return GST_FLOW_OK;
   }
 
-  GST_DEBUG_OBJECT (self, "received buffer from %s with length %" G_GSIZE_FORMAT,
+  GST_DEBUG_OBJECT (self,
+      "received buffer from %s with length %" G_GSIZE_FORMAT,
       self->connection_id, gst_buffer_get_size (buffer));
 
   buffer = gst_buffer_make_writable (buffer);
index 33dc76f0fee18e2735937def5b634ebe2806ff9e..0d50a202e2dc7d5f88762995c6edc4106d149fdc 100644 (file)
@@ -976,7 +976,9 @@ gst_mss_stream_get_fragment_gst_timestamp (GstMssStream * stream)
     time = fragment->time + (fragment->duration * fragment->repetitions);
   } else {
     fragment = stream->current_fragment->data;
-    time = fragment->time + (fragment->duration * stream->fragment_repetition_index);
+    time =
+        fragment->time +
+        (fragment->duration * stream->fragment_repetition_index);
   }
 
   timescale = gst_mss_stream_get_timescale (stream);
index db8afbf276efc3b99355cc3e7ad0dd6c2b6458fc..dceb3c58e643e44303768093695e92015b934f00 100644 (file)
@@ -97,23 +97,23 @@ gst_mirror_set_property (GObject * object, guint prop_id,
 
   switch (prop_id) {
     case PROP_MODE:
-      {
-        gint mode;
+    {
+      gint mode;
 
-        GST_OBJECT_LOCK (filter);
-        mode = g_value_get_enum (value);
+      GST_OBJECT_LOCK (filter);
+      mode = g_value_get_enum (value);
 
-        if (mode != filter->mode) {
-          GstGeometricTransform *gt;
+      if (mode != filter->mode) {
+        GstGeometricTransform *gt;
 
-          gt = GST_GEOMETRIC_TRANSFORM_CAST (object);
-          filter->mode = mode;
-          gst_geometric_transform_set_need_remap (gt);
-        }
-
-        GST_OBJECT_UNLOCK (filter);
-        break;
+        gt = GST_GEOMETRIC_TRANSFORM_CAST (object);
+        filter->mode = mode;
+        gst_geometric_transform_set_need_remap (gt);
       }
+
+      GST_OBJECT_UNLOCK (filter);
+      break;
+    }
     default:
       G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
       break;
index e2bc9fb1f627086d34d66845f610d3374b648d10..4abece19162437560b14651035bdfe108a415881 100644 (file)
@@ -331,18 +331,18 @@ gst_rtp_onvif_timestamp_sink_event (GstPad * pad, GstObject * parent,
       }
       break;
     case GST_EVENT_EOS:
-      {
-        GstFlowReturn res;
-        /* Push pending buffers, if any */
-        self->set_e_bit = TRUE;
-        res = send_cached_buffer_and_events (self);
-        if (res != GST_FLOW_OK) {
-          drop = TRUE;
-          ret = FALSE;
-          goto out;
-        }
-        break;
+    {
+      GstFlowReturn res;
+      /* Push pending buffers, if any */
+      self->set_e_bit = TRUE;
+      res = send_cached_buffer_and_events (self);
+      if (res != GST_FLOW_OK) {
+        drop = TRUE;
+        ret = FALSE;
+        goto out;
       }
+      break;
+    }
     case GST_EVENT_FLUSH_STOP:
       purge_cached_buffer_and_events (self);
       self->set_d_bit = FALSE;