mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-04 01:32:42 +00:00
printf format fixes
This commit is contained in:
parent
e0db2faa12
commit
c26575e4f0
2 changed files with 4 additions and 3 deletions
|
@ -375,7 +375,7 @@ gst_gme_play (GstPad * pad)
|
||||||
gme_play (gme->player, NUM_SAMPLES * 2,
|
gme_play (gme->player, NUM_SAMPLES * 2,
|
||||||
(short *) GST_BUFFER_DATA (out));
|
(short *) GST_BUFFER_DATA (out));
|
||||||
if (gme_err) {
|
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_pause_task (pad);
|
||||||
gst_pad_push_event (pad, gst_event_new_eos ());
|
gst_pad_push_event (pad, gst_event_new_eos ());
|
||||||
gst_object_unref (gme);
|
gst_object_unref (gme);
|
||||||
|
@ -445,7 +445,7 @@ gme_setup (GstGmeDec * gme)
|
||||||
gme->player = NULL;
|
gme->player = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
GST_ELEMENT_ERROR (gme, STREAM, DEMUX, (NULL), (gme_err));
|
GST_ELEMENT_ERROR (gme, STREAM, DEMUX, (NULL), ("%s", gme_err));
|
||||||
|
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
|
@ -150,7 +150,8 @@ gst_opus_parse_check_valid_frame (GstBaseParse * base,
|
||||||
|
|
||||||
data = GST_BUFFER_DATA (frame->buffer);
|
data = GST_BUFFER_DATA (frame->buffer);
|
||||||
size = GST_BUFFER_SIZE (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 */
|
/* check for headers */
|
||||||
is_idheader = gst_opus_header_is_id_header (frame->buffer);
|
is_idheader = gst_opus_header_is_id_header (frame->buffer);
|
||||||
|
|
Loading…
Reference in a new issue