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
@ -169,6 +169,8 @@ gst_wavpack_dec_start (GstAudioDecoder * dec)
|
|||||||
gst_audio_decoder_set_max_errors (dec, 16);
|
gst_audio_decoder_set_max_errors (dec, 16);
|
||||||
/* don't bother us with flushing */
|
/* don't bother us with flushing */
|
||||||
gst_audio_decoder_set_drainable (dec, FALSE);
|
gst_audio_decoder_set_drainable (dec, FALSE);
|
||||||
|
/* aim for some perfect timestamping */
|
||||||
|
gst_audio_decoder_set_tolerance (dec, 10 * GST_MSECOND);
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user