summaryrefslogtreecommitdiff
path: root/src/libxineadec/fooaudio.c
diff options
context:
space:
mode:
authorMiguel Freitas <miguelfreitas@users.sourceforge.net>2003-11-15 13:01:00 +0000
committerMiguel Freitas <miguelfreitas@users.sourceforge.net>2003-11-15 13:01:00 +0000
commit570fd9006dcf6f9aaa460e79b93b7ce37f7c6d7b (patch)
treeed387d71185404d03367e64a52093b0e6369ed67 /src/libxineadec/fooaudio.c
parentbb62a769e4a50cef3023408bf9a527e63b7d884d (diff)
downloadxine-lib-570fd9006dcf6f9aaa460e79b93b7ce37f7c6d7b.tar.gz
xine-lib-570fd9006dcf6f9aaa460e79b93b7ce37f7c6d7b.tar.bz2
more helper functions cleanup (stream info, meta info)
CVS patchset: 5731 CVS date: 2003/11/15 13:01:00
Diffstat (limited to 'src/libxineadec/fooaudio.c')
-rw-r--r--src/libxineadec/fooaudio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libxineadec/fooaudio.c b/src/libxineadec/fooaudio.c
index b40dd26f5..c94073fd8 100644
--- a/src/libxineadec/fooaudio.c
+++ b/src/libxineadec/fooaudio.c
@@ -21,7 +21,7 @@
* player. It really works too! It will output a continuous sine wave in
* place of the data it should actually send.
*
- * $Id: fooaudio.c,v 1.6 2003/01/08 01:02:31 miguelfreitas Exp $
+ * $Id: fooaudio.c,v 1.7 2003/11/15 13:01:20 miguelfreitas Exp $
*/
#include <stdio.h>
@@ -98,7 +98,7 @@ static void fooaudio_decode_data (audio_decoder_t *this_gen, buf_element_t *buf)
this->size = 0;
/* take this opportunity to initialize stream/meta information */
- this->stream->meta_info[XINE_META_INFO_AUDIOCODEC] = strdup("fooaudio");
+ xine_set_meta_info(this->stream, XINE_META_INFO_AUDIOCODEC, "fooaudio");
/* peform any other required initialization */
this->last_pts = -1;