mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 09:40:37 +00:00
rtp: fix for rtp header changes
This commit is contained in:
parent
e84b8dbe94
commit
af1eec2ece
1 changed files with 2 additions and 2 deletions
|
@ -284,8 +284,8 @@ gst_rtp_g729_pay_handle_buffer (GstRTPBasePayload * payload, GstBuffer * buf)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* If the ptime is specified in the caps, tried to adhere to it exactly */
|
/* If the ptime is specified in the caps, tried to adhere to it exactly */
|
||||||
if (payload->abidata.ABI.ptime) {
|
if (payload->ptime) {
|
||||||
guint64 ptime = payload->abidata.ABI.ptime / GST_MSECOND;
|
guint64 ptime = payload->ptime / GST_MSECOND;
|
||||||
guint ptime_in_bytes = G729_FRAME_SIZE *
|
guint ptime_in_bytes = G729_FRAME_SIZE *
|
||||||
(guint) (ptime / G729_FRAME_DURATION_MS);
|
(guint) (ptime / G729_FRAME_DURATION_MS);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue