diff --git a/ext/flac/gstflacdec.c b/ext/flac/gstflacdec.c index 09e53041df..ac939c3616 100644 --- a/ext/flac/gstflacdec.c +++ b/ext/flac/gstflacdec.c @@ -435,7 +435,7 @@ gst_flacdec_loop (GstElement *element) if (flacdec->init) { FLAC__seekable_stream_decoder_init (flacdec->decoder); - FLAC__seekable_stream_decoder_process_metadata (flacdec->decoder); + //FLAC__seekable_stream_decoder_process_metadata (flacdec->decoder); flacdec->init = FALSE; } @@ -455,7 +455,7 @@ gst_flacdec_loop (GstElement *element) flacdec->seek_pending = FALSE; } - res = FLAC__seekable_stream_decoder_process_one_frame (flacdec->decoder); + res = FLAC__seekable_stream_decoder_process_single (flacdec->decoder); if (FLAC__seekable_stream_decoder_get_state (flacdec->decoder) == FLAC__SEEKABLE_STREAM_DECODER_END_OF_STREAM) { diff --git a/ext/flac/gstflacenc.c b/ext/flac/gstflacenc.c index 40eeb19626..3316232c43 100644 --- a/ext/flac/gstflacenc.c +++ b/ext/flac/gstflacenc.c @@ -372,7 +372,7 @@ gst_flacenc_write_callback (const FLAC__StreamEncoder *encoder, flacenc = GST_FLACENC (client_data); if (flacenc->stopped) - return FLAC__STREAM_ENCODER_WRITE_OK; + return FLAC__STREAM_ENCODER_OK; outbuf = gst_buffer_new_and_alloc (bytes); @@ -386,7 +386,7 @@ gst_flacenc_write_callback (const FLAC__StreamEncoder *encoder, gst_pad_push (flacenc->srcpad, outbuf); - return FLAC__STREAM_ENCODER_WRITE_OK; + return FLAC__STREAM_ENCODER_OK; } static void