mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
audiobuffersplit: Remove unneeded buffer_clip wrapper
This is just a small cleanup noticed while reading. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2544>
This commit is contained in:
parent
d5e94da30c
commit
eb9511646d
1 changed files with 1 additions and 10 deletions
|
@ -662,13 +662,6 @@ gst_audio_buffer_split_handle_discont (GstAudioBufferSplit * self,
|
|||
return ret;
|
||||
}
|
||||
|
||||
static GstBuffer *
|
||||
gst_audio_buffer_split_clip_buffer (GstAudioBufferSplit * self,
|
||||
GstBuffer * buffer, const GstSegment * segment, gint rate, gint bpf)
|
||||
{
|
||||
return gst_audio_buffer_clip (buffer, segment, rate, bpf);
|
||||
}
|
||||
|
||||
static GstBuffer *
|
||||
gst_audio_buffer_split_clip_buffer_start_for_gapless (GstAudioBufferSplit *
|
||||
self, GstBuffer * buffer, gint rate, gint bpf)
|
||||
|
@ -737,9 +730,7 @@ gst_audio_buffer_split_sink_chain (GstPad * pad, GstObject * parent,
|
|||
return GST_FLOW_NOT_NEGOTIATED;
|
||||
}
|
||||
|
||||
buffer =
|
||||
gst_audio_buffer_split_clip_buffer (self, buffer, &self->in_segment, rate,
|
||||
bpf);
|
||||
buffer = gst_audio_buffer_clip (buffer, &self->in_segment, rate, bpf);
|
||||
if (!buffer)
|
||||
return GST_FLOW_OK;
|
||||
|
||||
|
|
Loading…
Reference in a new issue