projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e84b8db
)
rtp: fix for rtp header changes
author
Wim Taymans
<wim.taymans@collabora.co.uk>
Fri, 11 Nov 2011 18:21:50 +0000
(19:21 +0100)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Fri, 11 Nov 2011 18:21:50 +0000
(19:21 +0100)
gst/rtp/gstrtpg729pay.c
patch
|
blob
|
history
diff --git
a/gst/rtp/gstrtpg729pay.c
b/gst/rtp/gstrtpg729pay.c
index
6dad825
..
e8b56ea
100644
(file)
--- a/
gst/rtp/gstrtpg729pay.c
+++ b/
gst/rtp/gstrtpg729pay.c
@@
-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 (payload->
abidata.ABI.
ptime) {
- guint64 ptime = payload->
abidata.ABI.
ptime / GST_MSECOND;
+ if (payload->ptime) {
+ guint64 ptime = payload->ptime / GST_MSECOND;
guint ptime_in_bytes = G729_FRAME_SIZE *
(guint) (ptime / G729_FRAME_DURATION_MS);