mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 17:50:36 +00:00
tests: vorbisdec: properly configure audiodecoder when requiring perfect ts
This commit is contained in:
parent
12b54cccd1
commit
9e72c4790c
1 changed files with 4 additions and 1 deletions
|
@ -54,8 +54,11 @@ GST_START_TEST (test_timestamps)
|
||||||
GstBus *bus;
|
GstBus *bus;
|
||||||
GError *error = NULL;
|
GError *error = NULL;
|
||||||
|
|
||||||
|
/* allowing some tolerance permits audiodecoder to come up with
|
||||||
|
* perfect timestamps rather than sticking to upstream ts */
|
||||||
pipe_str = g_strdup_printf ("audiotestsrc num-buffers=100"
|
pipe_str = g_strdup_printf ("audiotestsrc num-buffers=100"
|
||||||
" ! audio/x-raw-int,rate=44100 ! audioconvert ! vorbisenc ! vorbisdec"
|
" ! audio/x-raw-int,rate=44100 ! audioconvert ! vorbisenc "
|
||||||
|
" ! vorbisdec tolerance=10000000 "
|
||||||
" ! identity check-imperfect-timestamp=TRUE ! fakesink");
|
" ! identity check-imperfect-timestamp=TRUE ! fakesink");
|
||||||
|
|
||||||
pipeline = gst_parse_launch (pipe_str, &error);
|
pipeline = gst_parse_launch (pipe_str, &error);
|
||||||
|
|
Loading…
Reference in a new issue