From c80c21d5d712bd80c50e35290f444e7316d097c5 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Sun, 22 Feb 2004 15:31:30 +0000 Subject: gst/audioconvert/gstaudioconvert.c: set rank to PRIMARY Original commit message from CVS: 2004-02-22 Benjamin Otte reported by: Stefan Kost * gst/audioconvert/gstaudioconvert.c: (plugin_init): set rank to PRIMARY * gst/volume/gstvolume.c: (plugin_init): set rank to NONE fixes #134960 2004-02-22 Julio M. Merino Vidal reviewed by Benjamin Otte * ext/flac/gstflacenc.c: (gst_flacenc_chain): escape NULL strings in GST_ELEMENT_ERROR properly (fixes #135116) --- ext/flac/gstflacenc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext') diff --git a/ext/flac/gstflacenc.c b/ext/flac/gstflacenc.c index 49950ab7..eacedeb4 100644 --- a/ext/flac/gstflacenc.c +++ b/ext/flac/gstflacenc.c @@ -575,7 +575,7 @@ gst_flacenc_chain (GstPad *pad, GstData *_data) gst_flacenc_set_metadata (flacenc); state = FLAC__seekable_stream_encoder_init (flacenc->encoder); if (state != FLAC__STREAM_ENCODER_OK) { - GST_ELEMENT_ERROR (flacenc, LIBRARY, INIT, NULL, + GST_ELEMENT_ERROR (flacenc, LIBRARY, INIT, (NULL), ("could not initialize encoder (wrong parameters?)")); return; } @@ -610,7 +610,7 @@ gst_flacenc_chain (GstPad *pad, GstData *_data) flacenc->data = NULL; if (!res) { - GST_ELEMENT_ERROR (flacenc, STREAM, ENCODE, NULL, NULL); + GST_ELEMENT_ERROR (flacenc, STREAM, ENCODE, (NULL), (NULL)); } } -- cgit