mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 00:31:13 +00:00
audiorate: Removing unused variable
The in_stop variable was never read. Removing it.
This commit is contained in:
parent
44d6ebc48f
commit
d95b607e23
1 changed files with 1 additions and 2 deletions
|
@ -475,7 +475,7 @@ static GstFlowReturn
|
||||||
gst_audio_rate_chain (GstPad * pad, GstBuffer * buf)
|
gst_audio_rate_chain (GstPad * pad, GstBuffer * buf)
|
||||||
{
|
{
|
||||||
GstAudioRate *audiorate;
|
GstAudioRate *audiorate;
|
||||||
GstClockTime in_time, in_duration, in_stop, run_time;
|
GstClockTime in_time, in_duration, run_time;
|
||||||
guint64 in_offset, in_offset_end, in_samples;
|
guint64 in_offset, in_offset_end, in_samples;
|
||||||
guint in_size;
|
guint in_size;
|
||||||
GstFlowReturn ret = GST_FLOW_OK;
|
GstFlowReturn ret = GST_FLOW_OK;
|
||||||
|
@ -522,7 +522,6 @@ gst_audio_rate_chain (GstPad * pad, GstBuffer * buf)
|
||||||
/* get duration from the size because we can and it's more accurate */
|
/* get duration from the size because we can and it's more accurate */
|
||||||
in_duration =
|
in_duration =
|
||||||
gst_util_uint64_scale_int_round (in_samples, GST_SECOND, audiorate->rate);
|
gst_util_uint64_scale_int_round (in_samples, GST_SECOND, audiorate->rate);
|
||||||
in_stop = in_time + in_duration;
|
|
||||||
|
|
||||||
/* Figure out the total accumulated segment time. */
|
/* Figure out the total accumulated segment time. */
|
||||||
run_time = in_time + audiorate->src_segment.accum;
|
run_time = in_time + audiorate->src_segment.accum;
|
||||||
|
|
Loading…
Reference in a new issue