mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
audiotestsrc: fix a comment typo from previous commit
This commit is contained in:
parent
c5d5221cb2
commit
fbf2647f3e
1 changed files with 1 additions and 1 deletions
|
@ -1059,7 +1059,7 @@ gst_audio_test_src_do_seek (GstBaseSrc * basesrc, GstSegment * segment)
|
||||||
samplerate = GST_AUDIO_INFO_RATE (&src->info);
|
samplerate = GST_AUDIO_INFO_RATE (&src->info);
|
||||||
bpf = GST_AUDIO_INFO_BPF (&src->info);
|
bpf = GST_AUDIO_INFO_BPF (&src->info);
|
||||||
|
|
||||||
/* now move to the time indicated, don't see to the sample *after* the time */
|
/* now move to the time indicated, don't seek to the sample *after* the time */
|
||||||
next_sample = gst_util_uint64_scale_int (time, samplerate, GST_SECOND);
|
next_sample = gst_util_uint64_scale_int (time, samplerate, GST_SECOND);
|
||||||
src->next_byte = next_sample * bpf;
|
src->next_byte = next_sample * bpf;
|
||||||
if (samplerate == 0)
|
if (samplerate == 0)
|
||||||
|
|
Loading…
Reference in a new issue