mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
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:
parent
11f298a338
commit
2663388000
2 changed files with 2 additions and 3 deletions
|
@ -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 */
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue