Fix indentation
authorTim-Philipp Müller <tim@centricular.com>
Mon, 9 Jan 2017 19:05:10 +0000 (19:05 +0000)
committerTim-Philipp Müller <tim@centricular.com>
Mon, 9 Jan 2017 19:05:10 +0000 (19:05 +0000)
gst/rtp/gstrtph263depay.c
gst/rtp/gstrtpsbcdepay.c
gst/rtpmanager/rtpjitterbuffer.c
gst/rtsp/gstrtspsrc.c
sys/v4l2/gstv4l2bufferpool.c

index c45639a..7bc0021 100644 (file)
@@ -313,7 +313,7 @@ gst_rtp_h263_depay_process (GstRTPBaseDepayload * depayload, GstRTPBuffer * rtp)
     /* only mode A should be used when there is a picture start code, but
      * buggy payloaders may send mode B/C in start of frame */
     if (payload_len > 4 && (GST_READ_UINT32_BE (payload) >> 10 == 0x20)) {
-      GST_DEBUG ("Mode %c with PSC => frame start", "ABC"[F+P]);
+      GST_DEBUG ("Mode %c with PSC => frame start", "ABC"[F + P]);
       rtph263depay->start = TRUE;
       if ((! !(payload[4] & 0x02)) != I) {
         GST_DEBUG ("Wrong Picture Coding Type Flag in rtp header");
index 353b403..02407b5 100644 (file)
@@ -182,7 +182,7 @@ gst_rtp_sbc_depay_setcaps (GstRTPBaseDepayload * base, GstCaps * caps)
 
   gst_caps_unref (outcaps);
   if (oldcaps)
-     gst_caps_unref (oldcaps);
+    gst_caps_unref (oldcaps);
 
   return TRUE;
 
index 03b7ebc..11a5d72 100644 (file)
@@ -690,7 +690,7 @@ queue_do_insert (RTPJitterBuffer * jbuf, GList * list, GList * item)
 
 GstClockTime
 rtp_jitter_buffer_calculate_pts (RTPJitterBuffer * jbuf, GstClockTime dts,
-      guint32 rtptime, GstClockTime base_time)
+    guint32 rtptime, GstClockTime base_time)
 {
   guint64 ext_rtptime;
   GstClockTime gstrtptime, pts;
index f0cd0dc..7725fe1 100644 (file)
@@ -5045,11 +5045,11 @@ gst_rtspsrc_loop_send_cmd (GstRTSPSrc * src, gint cmd, gint mask)
   if (old == CMD_RECONNECT) {
     GST_DEBUG_OBJECT (src, "ignore, we were reconnecting");
     cmd = CMD_RECONNECT;
-  } else if(old == CMD_CLOSE) {
+  } else if (old == CMD_CLOSE) {
     /* our CMD_CLOSE might have interrutped CMD_LOOP. gst_rtspsrc_loop
-    * will send a CMD_WAIT which would cancel our pending CMD_CLOSE (if
-    * still pending). We just avoid it here by making sure CMD_CLOSE is
-    * still the pending command. */
+     * will send a CMD_WAIT which would cancel our pending CMD_CLOSE (if
+     * still pending). We just avoid it here by making sure CMD_CLOSE is
+     * still the pending command. */
     GST_DEBUG_OBJECT (src, "ignore, we were closing");
     cmd = CMD_CLOSE;
   } else if (old != CMD_WAIT) {
index e9aa8e6..470a07e 100644 (file)
@@ -955,8 +955,8 @@ gst_v4l2_buffer_pool_flush_stop (GstBufferPool * bpool)
   GST_OBJECT_LOCK (pool);
   gst_v4l2_buffer_pool_streamoff (pool);
   /* Remember buffers to re-enqueue */
-  memcpy(buffers, pool->buffers, sizeof(buffers));
-  memset(pool->buffers, 0, sizeof(pool->buffers));
+  memcpy (buffers, pool->buffers, sizeof (buffers));
+  memset (pool->buffers, 0, sizeof (pool->buffers));
   GST_OBJECT_UNLOCK (pool);
 
   /* Reset our state */