mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 03:35:21 +00:00
ext: Update for audio decoder API changes
This commit is contained in:
parent
3288b7f95e
commit
ad1b47c358
2 changed files with 2 additions and 2 deletions
|
@ -237,7 +237,7 @@ gst_dtsdec_start (GstAudioDecoder * dec)
|
|||
dts->flag_update = TRUE;
|
||||
|
||||
/* call upon legacy upstream byte support (e.g. seeking) */
|
||||
gst_audio_decoder_set_byte_time (dec, TRUE);
|
||||
gst_audio_decoder_set_estimate_rate (dec, TRUE);
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
|
|
@ -208,7 +208,7 @@ gst_faad_start (GstAudioDecoder * dec)
|
|||
gst_faad_reset (faad);
|
||||
|
||||
/* call upon legacy upstream byte support (e.g. seeking) */
|
||||
gst_audio_decoder_set_byte_time (dec, TRUE);
|
||||
gst_audio_decoder_set_estimate_rate (dec, TRUE);
|
||||
/* never mind a few errors */
|
||||
gst_audio_decoder_set_max_errors (dec, 10);
|
||||
|
||||
|
|
Loading…
Reference in a new issue