annodex: fix warnings in macosx

This commit is contained in:
Josep Torra 2009-10-09 12:19:35 +02:00
parent 3f7aed54f9
commit 6320de853b
2 changed files with 2 additions and 2 deletions

View file

@ -532,7 +532,7 @@ gst_cmml_dec_parse_xml (GstCmmlDec * dec, guchar * data, guint size)
GError *err = NULL;
if (!gst_cmml_parser_parse_chunk (dec->parser, (gchar *) data, size, &err)) {
GST_ELEMENT_ERROR (dec, STREAM, DECODE, (NULL), (err->message));
GST_ELEMENT_ERROR (dec, STREAM, DECODE, (NULL), ("%s", err->message));
g_error_free (err);
dec->flow_return = GST_FLOW_ERROR;
}

View file

@ -612,7 +612,7 @@ gst_cmml_enc_chain (GstPad * pad, GstBuffer * buffer)
if (!gst_cmml_parser_parse_chunk (enc->parser,
(gchar *) GST_BUFFER_DATA (buffer), GST_BUFFER_SIZE (buffer), &err)) {
GST_ELEMENT_ERROR (enc, STREAM, ENCODE, (NULL), (err->message));
GST_ELEMENT_ERROR (enc, STREAM, ENCODE, (NULL), ("%s", err->message));
g_error_free (err);
enc->flow_return = GST_FLOW_ERROR;
}