mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 09:40:37 +00:00
rtpjitterbuffer: move comment where it belongs
This commit is contained in:
parent
4fd81747f3
commit
0f59664c6a
1 changed files with 3 additions and 3 deletions
|
@ -603,9 +603,6 @@ rtp_jitter_buffer_insert (RTPJitterBuffer * jbuf, GstBuffer * buf,
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* do skew calculation by measuring the difference between rtptime and the
|
|
||||||
* receive time, this function will retimestamp @buf with the skew corrected
|
|
||||||
* running time. */
|
|
||||||
rtptime = gst_rtp_buffer_get_timestamp (buf);
|
rtptime = gst_rtp_buffer_get_timestamp (buf);
|
||||||
switch (jbuf->mode) {
|
switch (jbuf->mode) {
|
||||||
case RTP_JITTER_BUFFER_MODE_NONE:
|
case RTP_JITTER_BUFFER_MODE_NONE:
|
||||||
|
@ -623,6 +620,9 @@ rtp_jitter_buffer_insert (RTPJitterBuffer * jbuf, GstBuffer * buf,
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
/* do skew calculation by measuring the difference between rtptime and the
|
||||||
|
* receive time, this function will retimestamp @buf with the skew corrected
|
||||||
|
* running time. */
|
||||||
time = calculate_skew (jbuf, rtptime, time, clock_rate);
|
time = calculate_skew (jbuf, rtptime, time, clock_rate);
|
||||||
GST_BUFFER_TIMESTAMP (buf) = time;
|
GST_BUFFER_TIMESTAMP (buf) = time;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue