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:
62900a4
)
rtpg728pay: remove unused adapter peek
author
Wim Taymans
<wim.taymans@collabora.co.uk>
Wed, 6 Jan 2010 12:45:59 +0000
(13:45 +0100)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Wed, 6 Jan 2010 12:45:59 +0000
(13:45 +0100)
gst/rtp/gstrtpg729pay.c
patch
|
blob
|
history
diff --git
a/gst/rtp/gstrtpg729pay.c
b/gst/rtp/gstrtpg729pay.c
index
d52ce67
..
57dae0c
100644
(file)
--- a/
gst/rtp/gstrtpg729pay.c
+++ b/
gst/rtp/gstrtpg729pay.c
@@
-150,7
+150,6
@@
gst_rtp_g729_pay_handle_buffer (GstBaseRTPPayload * payload, GstBuffer * buf)
GST_BASE_RTP_AUDIO_PAYLOAD (payload);
GstAdapter *adapter = NULL;
guint payload_len;
- const guint8 *data = NULL;
guint available;
guint maxptime_octets = G_MAXUINT;
guint minptime_octets = 0;
@@
-253,8
+252,6
@@
gst_rtp_g729_pay_handle_buffer (GstBaseRTPPayload * payload, GstBuffer * buf)
(available / G729_FRAME_SIZE) * G729_FRAME_SIZE);
}
- data = gst_adapter_peek (adapter, payload_len);
-
ret = gst_base_rtp_audio_payload_flush (basertpaudiopayload, payload_len,
basertpaudiopayload->base_ts);