From 847f0e85e8b0c8135294258a9507fba03cc1cc30 Mon Sep 17 00:00:00 2001 From: Daniel Caujolle-Bert Date: Sun, 16 Nov 2003 23:33:42 +0000 Subject: New stream/meta info (safe) stuff. BIG NOTE: use helpers to access to these informations (get/set/reset): _x_{stream,meta}_info_{get,set,reset}() are for internal use, don't use *_public() ones from inside the beast ;-) Some wrongly names "xine_" fonction renaming. CVS patchset: 5757 CVS date: 2003/11/16 23:33:42 --- src/libfaad/xine_decoder.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/libfaad') diff --git a/src/libfaad/xine_decoder.c b/src/libfaad/xine_decoder.c index 78fecf230..d299e55a3 100644 --- a/src/libfaad/xine_decoder.c +++ b/src/libfaad/xine_decoder.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: xine_decoder.c,v 1.17 2003/11/15 13:01:11 miguelfreitas Exp $ + * $Id: xine_decoder.c,v 1.18 2003/11/16 23:33:44 f1rmb Exp $ * */ @@ -82,7 +82,7 @@ static int faad_open_dec( faad_decoder_t *this ) { xine_log (this->stream->xine, XINE_LOG_MSG, "libfaad: libfaad faacDecOpen() failed.\n" ); this->faac_failed++; - xine_set_stream_info(this->stream, XINE_STREAM_INFO_AUDIO_HANDLED, 0); + _x_stream_info_set(this->stream, XINE_STREAM_INFO_AUDIO_HANDLED, 0); return 1; } @@ -196,7 +196,7 @@ static void faad_decode_data (audio_decoder_t *this_gen, buf_element_t *buf) { "libfaad: libfaad faacDecInit2() failed.\n" ); this->faac_failed++; this->faac_dec = NULL; - xine_set_stream_info(this->stream, XINE_STREAM_INFO_AUDIO_HANDLED, 0); + _x_stream_info_set(this->stream, XINE_STREAM_INFO_AUDIO_HANDLED, 0); return; } #ifdef LOG @@ -224,7 +224,7 @@ static void faad_decode_data (audio_decoder_t *this_gen, buf_element_t *buf) { this->faac_failed = 0; /* stream/meta info */ - xine_set_meta_info(this->stream, XINE_META_INFO_AUDIOCODEC, + _x_meta_info_set(this->stream, XINE_META_INFO_AUDIOCODEC, "AAC (libfaad)"); } else { @@ -263,7 +263,7 @@ static void faad_decode_data (audio_decoder_t *this_gen, buf_element_t *buf) { this->faac_failed++; faacDecClose(this->faac_dec); this->faac_dec = NULL; - xine_set_stream_info(this->stream, XINE_STREAM_INFO_AUDIO_HANDLED, 0); + _x_stream_info_set(this->stream, XINE_STREAM_INFO_AUDIO_HANDLED, 0); return; } #ifdef LOG -- cgit v1.2.3