summaryrefslogtreecommitdiffstats
path: root/gst/mve/mvevideodec16.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/mvevideodec16.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/mvevideodec16.c')
-rw-r--r--gst/mve/mvevideodec16.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/mve/mvevideodec16.c b/gst/mve/mvevideodec16.c
index 8a46a59f..e045a0b1 100644
--- a/gst/mve/mvevideodec16.c
+++ b/gst/mve/mvevideodec16.c
@@ -46,10 +46,10 @@ ipvideo_copy_block (const GstMveDemuxStream * s, unsigned short *frame,
frame_offset = frame - (unsigned short *) s->back_buf1 + offset;
if (G_UNLIKELY (frame_offset < 0)) {
- GST_ERROR ("frame offset < 0 (%ld)", frame_offset);
+ GST_ERROR ("frame offset < 0 (%d)", frame_offset);
return -1;
} else if (G_UNLIKELY (frame_offset > s->max_block_offset)) {
- GST_ERROR ("frame offset above limit (%ld > %ld)",
+ GST_ERROR ("frame offset above limit (%d > %u)",
frame_offset, s->max_block_offset);
return -1;
}