!(gst_structure_get_int (structure, "depth", &depth) ||
depth != enc->width)) {
GST_ELEMENT_ERROR (enc, LIBRARY, INIT, (NULL),
- ("got invalid caps: %", GST_PTR_FORMAT, caps));
+ ("got invalid caps: %" GST_PTR_FORMAT, caps));
gst_object_unref (enc);
return FALSE;
}
if (!gst_pad_set_caps (enc->srcpad, caps)) {
GST_ELEMENT_ERROR (enc, LIBRARY, INIT, (NULL),
- ("setting caps failed: %", GST_PTR_FORMAT, caps));
+ ("setting caps failed: %" GST_PTR_FORMAT, caps));
gst_caps_unref (caps);
gst_object_unref (enc);
return FALSE;
/* get fourcc/length, set neededbytes */
extract_initial_length_and_fourcc ((guint8 *) data, &size, &fourcc);
GST_DEBUG_OBJECT (demux,
- "Peeking found [%" GST_FOURCC_FORMAT "] size:%ld",
- GST_FOURCC_ARGS (fourcc), size);
+ "Peeking found [%" GST_FOURCC_FORMAT "] size: %u",
+ GST_FOURCC_ARGS (fourcc), (guint) size);
if ((fourcc == GST_MAKE_FOURCC ('m', 'd', 'a', 't'))) {
if (demux->n_streams > 0) {
demux->state = QTDEMUX_STATE_MOVIE;
stream->sample_index++;
/* update current offset and figure out size of next buffer */
- GST_LOG_OBJECT (demux, "bumping offset:%lld up by %lld",
+ GST_LOG_OBJECT (demux, "increasing offset %" G_GUINT64_FORMAT " by %u",
demux->offset, demux->neededbytes);
demux->offset += demux->neededbytes;
GST_LOG_OBJECT (demux, "offset is now %lld", demux->offset);
}
len = QTDEMUX_GUINT32_GET (buf);
if (len < 8) {
- GST_WARNING ("length too short (%d < 8)");
+ GST_WARNING ("length too short (%d < 8)", len);
break;
}
if (len > (end - buf)) {
}
len = QTDEMUX_GUINT32_GET (buf);
if (len < 8) {
- GST_WARNING ("length too short (%d < 8)");
+ GST_WARNING ("length too short (%d < 8)", len);
break;
}
if (len > (end - buf)) {
if (len == 0)
break;
if (len < 8) {
- GST_WARNING ("length too short (%d < 8)");
+ GST_WARNING ("length too short (%d < 8)", len);
break;
}
if (len > (end - buf)) {
}
len = QTDEMUX_GUINT32_GET (buf);
if (len < 8) {
- GST_WARNING ("length too short (%d < 8)");
+ GST_WARNING ("length too short (%d < 8)", len);
break;
}
if (len > (end - buf)) {
if (len == 0)
break;
if (len < 8) {
- GST_WARNING ("length too short (%d < 8)");
+ GST_WARNING ("length too short (%d < 8)", len);
break;
}
if (len > (end - buf)) {
GST_LOG ("stsd len: %d", len);
stream->fourcc = fourcc = QTDEMUX_FOURCC_GET (stsd->data + 16 + 4);
- GST_LOG ("stsd type: %" GST_FOURCC_FORMAT, stream->fourcc);
+ GST_LOG ("stsd type: %" GST_FOURCC_FORMAT,
+ GST_FOURCC_ARGS (stream->fourcc));
offset = 32;