printf format fixes

This commit is contained in:
David Schleef 2012-02-19 12:57:39 -08:00
parent e0db2faa12
commit c26575e4f0
2 changed files with 4 additions and 3 deletions

View file

@ -375,7 +375,7 @@ gst_gme_play (GstPad * pad)
gme_play (gme->player, NUM_SAMPLES * 2,
(short *) GST_BUFFER_DATA (out));
if (gme_err) {
GST_ELEMENT_ERROR (gme, STREAM, DEMUX, (NULL), (gme_err));
GST_ELEMENT_ERROR (gme, STREAM, DEMUX, (NULL), ("%s", gme_err));
gst_pad_pause_task (pad);
gst_pad_push_event (pad, gst_event_new_eos ());
gst_object_unref (gme);
@ -445,7 +445,7 @@ gme_setup (GstGmeDec * gme)
gme->player = NULL;
}
GST_ELEMENT_ERROR (gme, STREAM, DEMUX, (NULL), (gme_err));
GST_ELEMENT_ERROR (gme, STREAM, DEMUX, (NULL), ("%s", gme_err));
return FALSE;
}

View file

@ -150,7 +150,8 @@ gst_opus_parse_check_valid_frame (GstBaseParse * base,
data = GST_BUFFER_DATA (frame->buffer);
size = GST_BUFFER_SIZE (frame->buffer);
GST_DEBUG_OBJECT (parse, "Checking for frame, %u bytes in buffer", size);
GST_DEBUG_OBJECT (parse,
"Checking for frame, %" G_GSIZE_FORMAT " bytes in buffer", size);
/* check for headers */
is_idheader = gst_opus_header_is_id_header (frame->buffer);