summaryrefslogtreecommitdiffstats
path: root/gst/mve/gstmvedemux.c
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2007-01-25 12:05:11 +0000
committerEdward Hervey <bilboed@bilboed.com>2007-01-25 12:05:11 +0000
commitca6a88a8fc7d5917dcf04a689dcce562532a32fd (patch)
treedbe670572a1cb3f5b3e0f4bbdf16b24b291253b7 /gst/mve/gstmvedemux.c
parent2ba135f61472c28205d922255c5209e56eed11f5 (diff)
downloadgst-plugins-bad-ca6a88a8fc7d5917dcf04a689dcce562532a32fd.tar.gz
gst-plugins-bad-ca6a88a8fc7d5917dcf04a689dcce562532a32fd.tar.bz2
gst-plugins-bad-ca6a88a8fc7d5917dcf04a689dcce562532a32fd.zip
gst/: Use proper print statements.
Original commit message from CVS: * gst/multifile/gstmultifilesink.c: (gst_multi_file_sink_class_init): * gst/multifile/gstmultifilesrc.c: (gst_multi_file_src_class_init): * gst/mve/gstmvedemux.c: (gst_mve_video_create_buffer), (gst_mve_video_palette), (gst_mve_video_code_map), (gst_mve_audio_init), (gst_mve_audio_data), (gst_mve_timer_create), (gst_mve_demux_chain): * gst/mve/gstmvemux.c: (gst_mve_mux_push_chunk): * gst/mve/mveaudioenc.c: (mve_compress_audio): * gst/mve/mvevideodec16.c: (ipvideo_copy_block): * gst/mve/mvevideodec8.c: (ipvideo_copy_block): * gst/mve/mvevideoenc16.c: (mve_encode_frame16): * gst/mve/mvevideoenc8.c: (mve_encode_frame8): Use proper print statements. Fixes build on mac os x. <wingo> oo look at me my name is edward i'm hacking on macos wooo
Diffstat (limited to 'gst/mve/gstmvedemux.c')
-rw-r--r--gst/mve/gstmvedemux.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/gst/mve/gstmvedemux.c b/gst/mve/gstmvedemux.c
index 01ccfe5b..ce27b324 100644
--- a/gst/mve/gstmvedemux.c
+++ b/gst/mve/gstmvedemux.c
@@ -379,7 +379,7 @@ gst_mve_video_create_buffer (GstMveDemux * mve, guint8 version,
}
GST_DEBUG_OBJECT (mve,
- "allocating video buffer, w:%ld, h:%ld, n:%ld, true_color:%ld", w, h, n,
+ "allocating video buffer, w:%u, h:%u, n:%u, true_color:%u", w, h, n,
true_color);
/* we need a buffer to keep the last 2 frames, since those may be
@@ -423,7 +423,7 @@ gst_mve_video_palette (GstMveDemux * mve, const guint8 * data, guint16 len)
start = GST_READ_UINT16_LE (data);
count = GST_READ_UINT16_LE (data + 2);
- GST_DEBUG_OBJECT (mve, "found palette start:%ld, count:%ld", start, count);
+ GST_DEBUG_OBJECT (mve, "found palette start:%u, count:%u", start, count);
/* need more bytes */
if (len < count * 3)
@@ -536,7 +536,7 @@ gst_mve_video_code_map (GstMveDemux * mve, const guint8 * data, guint16 len)
return GST_FLOW_ERROR;
}
- GST_DEBUG_OBJECT (mve, "found code map, size:%ld", len);
+ GST_DEBUG_OBJECT (mve, "found code map, size:%u", len);
/* decoding is done in 8x8 blocks using 4-bit opcodes */
min = (mve->video_stream->width * mve->video_stream->height) / (8 * 8 * 2);
@@ -687,8 +687,8 @@ gst_mve_audio_init (GstMveDemux * mve, guint8 version, const guint8 * data,
stream->compression = ((version > 0) && (flags & MVE_AUDIO_COMPRESSED)) ?
TRUE : FALSE;
- GST_DEBUG_OBJECT (mve, "audio init, sample_rate:%ld, channels:%ld, "
- "bits_per_sample:%ld, compression:%ld, buffer:%ld",
+ GST_DEBUG_OBJECT (mve, "audio init, sample_rate:%d, channels:%d, "
+ "bits_per_sample:%d, compression:%d, buffer:%u",
stream->sample_rate, stream->n_channels,
stream->sample_size, stream->compression, requested_buffer);
@@ -779,7 +779,7 @@ gst_mve_audio_data (GstMveDemux * mve, guint8 type, const guint8 * data,
GST_BUFFER_DURATION (buf) = duration;
GST_BUFFER_OFFSET_END (buf) = s->offset + n_samples;
- GST_DEBUG_OBJECT (mve, "created audio buffer, size:%ld, stream_mask:%lx",
+ GST_DEBUG_OBJECT (mve, "created audio buffer, size:%u, stream_mask:%x",
size, stream_mask);
*output = buf;
@@ -824,7 +824,7 @@ gst_mve_timer_create (GstMveDemux * mve, const guint8 * data, guint16 len,
t_rate = GST_READ_UINT32_LE (data);
t_subdiv = GST_READ_UINT16_LE (data + 4);
- GST_DEBUG_OBJECT (mve, "found timer:%ldx%d", t_rate, t_subdiv);
+ GST_DEBUG_OBJECT (mve, "found timer:%ux%u", t_rate, t_subdiv);
mve->frame_duration = t_rate * t_subdiv * GST_USECOND;
/* now really start rolling... */
@@ -984,7 +984,7 @@ gst_mve_demux_chain (GstPad * sinkpad, GstBuffer * inbuf)
gst_adapter_push (mve->adapter, inbuf);
- GST_DEBUG_OBJECT (mve, "queuing buffer, needed:%ld, available:%ld",
+ GST_DEBUG_OBJECT (mve, "queuing buffer, needed:%d, available:%u",
mve->needed_bytes, gst_adapter_available (mve->adapter));
while ((gst_adapter_available (mve->adapter) >= mve->needed_bytes) &&
@@ -1044,7 +1044,7 @@ gst_mve_demux_chain (GstPad * sinkpad, GstBuffer * inbuf)
/* send buffer */
GST_DEBUG_OBJECT (mve,
"pushing buffer with time %" GST_TIME_FORMAT
- " (%ld bytes) on pad %s",
+ " (%u bytes) on pad %s",
GST_TIME_ARGS (GST_BUFFER_TIMESTAMP (outbuf)),
GST_BUFFER_SIZE (outbuf), GST_PAD_NAME (stream->pad));