ext: Update for audio decoder API changes

This commit is contained in:
Sebastian Dröge 2012-03-30 11:52:48 +02:00
parent 336c76cb11
commit 90b1e8ac71
2 changed files with 2 additions and 2 deletions

View file

@ -263,7 +263,7 @@ gst_a52dec_start (GstAudioDecoder * dec)
a52dec->flag_update = TRUE; a52dec->flag_update = TRUE;
/* call upon legacy upstream byte support (e.g. seeking) */ /* 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; return TRUE;
} }

View file

@ -169,7 +169,7 @@ gst_mad_start (GstAudioDecoder * dec)
mad->eos = FALSE; mad->eos = FALSE;
/* call upon legacy upstream byte support (e.g. seeking) */ /* 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; return TRUE;
} }