From 90b1e8ac713b8fd352dcd559d88b0c9546a7789a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Fri, 30 Mar 2012 11:52:48 +0200 Subject: [PATCH] ext: Update for audio decoder API changes --- ext/a52dec/gsta52dec.c | 2 +- ext/mad/gstmad.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/a52dec/gsta52dec.c b/ext/a52dec/gsta52dec.c index 1fcdc3ddd7..2e65d36286 100644 --- a/ext/a52dec/gsta52dec.c +++ b/ext/a52dec/gsta52dec.c @@ -263,7 +263,7 @@ gst_a52dec_start (GstAudioDecoder * dec) a52dec->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; } diff --git a/ext/mad/gstmad.c b/ext/mad/gstmad.c index 491ba462e3..49b2d9aa2d 100644 --- a/ext/mad/gstmad.c +++ b/ext/mad/gstmad.c @@ -169,7 +169,7 @@ gst_mad_start (GstAudioDecoder * dec) mad->eos = FALSE; /* 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; }