mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
wavpackdec: allow some timestamp tolerance to arrange for perfect timestamping
... which also happens to make some more unit tests pass.
This commit is contained in:
parent
e43ff87364
commit
dccbbe191d
1 changed files with 2 additions and 0 deletions
|
@ -169,6 +169,8 @@ gst_wavpack_dec_start (GstAudioDecoder * dec)
|
|||
gst_audio_decoder_set_max_errors (dec, 16);
|
||||
/* don't bother us with flushing */
|
||||
gst_audio_decoder_set_drainable (dec, FALSE);
|
||||
/* aim for some perfect timestamping */
|
||||
gst_audio_decoder_set_tolerance (dec, 10 * GST_MSECOND);
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue