mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 00:01:23 +00:00
rtpg728pay: remove unused adapter peek
This commit is contained in:
parent
62900a4c13
commit
4c1947045e
1 changed files with 0 additions and 3 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue