mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
audio: Fix unit test after changed GstAudioStreamAlign constructor signature
This commit is contained in:
parent
bf68e74403
commit
992d026ebf
1 changed files with 2 additions and 2 deletions
|
@ -713,7 +713,7 @@ GST_START_TEST (test_stream_align)
|
||||||
GstClockTime out_timestamp, out_duration;
|
GstClockTime out_timestamp, out_duration;
|
||||||
gboolean discont;
|
gboolean discont;
|
||||||
|
|
||||||
align = gst_audio_stream_align_new (1000);
|
align = gst_audio_stream_align_new (1000, 40 * GST_MSECOND, 1 * GST_SECOND);
|
||||||
|
|
||||||
for (i = 0; i < 500; i++) {
|
for (i = 0; i < 500; i++) {
|
||||||
timestamp = 10 * GST_MSECOND * i;
|
timestamp = 10 * GST_MSECOND * i;
|
||||||
|
@ -891,7 +891,7 @@ GST_START_TEST (test_stream_align_reverse)
|
||||||
GstClockTime out_timestamp, out_duration;
|
GstClockTime out_timestamp, out_duration;
|
||||||
gboolean discont;
|
gboolean discont;
|
||||||
|
|
||||||
align = gst_audio_stream_align_new (-1000);
|
align = gst_audio_stream_align_new (-1000, 40 * GST_MSECOND, 1 * GST_SECOND);
|
||||||
|
|
||||||
for (i = 499; i >= 0; i--) {
|
for (i = 499; i >= 0; i--) {
|
||||||
timestamp = 10 * GST_MSECOND * i;
|
timestamp = 10 * GST_MSECOND * i;
|
||||||
|
|
Loading…
Reference in a new issue