mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
annodex: fix warnings in macosx
This commit is contained in:
parent
3f7aed54f9
commit
6320de853b
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue