Fix indentation

This commit is contained in:
Tim-Philipp Müller 2017-01-09 19:05:10 +00:00
parent 781b5ac781
commit d7b2820b73
5 changed files with 9 additions and 9 deletions

View 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");

View 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;

View 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;

View 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) {

View 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 */