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:
Mark Nauwelaerts 2012-03-05 10:49:33 +01:00
parent e43ff87364
commit dccbbe191d

View file

@ -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;
}