rtpjitterbuffer: Minor clean-up

1. Fix the code which is wrong coding style.
2. Fix a typing error of comment.

https://bugzilla.gnome.org/show_bug.cgi?id=751316
This commit is contained in:
Sangkyu Park 2015-06-22 19:45:14 +09:00 committed by Sebastian Dröge
parent 11f298a338
commit 2663388000
2 changed files with 2 additions and 3 deletions

View file

@ -3412,8 +3412,7 @@ gst_rtp_jitter_buffer_loop (GstRtpJitterBuffer * jitterbuffer)
JBUF_WAIT_EVENT (priv, flushing);
result = GST_FLOW_OK;
}
}
while (result == GST_FLOW_OK);
} while (result == GST_FLOW_OK);
/* store result for upstream */
priv->srcresult = result;
/* if we get here we need to pause */

View file

@ -261,7 +261,7 @@ get_buffer_level (RTPJitterBuffer * jbuf)
RTPJitterBufferItem *high_buf = NULL, *low_buf = NULL;
guint64 level;
/* first first buffer with timestamp */
/* first buffer with timestamp */
high_buf = (RTPJitterBufferItem *) g_queue_peek_tail_link (jbuf->packets);
while (high_buf) {
if (high_buf->dts != -1 || high_buf->pts != -1)