diff options
author | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2009-11-05 22:03:51 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2009-11-05 22:03:51 +0000 |
commit | 2803460b29625664ce651ab94c54b29411af5c59 (patch) | |
tree | 01942edf15fb830e10fba1156f650ba29620cd81 /ext/mythtv | |
parent | 1fa5e7b89aa8ce119779e14f529b556c85c90549 (diff) | |
download | gstreamer-plugins-bad-2803460b29625664ce651ab94c54b29411af5c59.tar.gz |
mythtv: printf format fixes
Diffstat (limited to 'ext/mythtv')
-rw-r--r-- | ext/mythtv/gstmythtvsrc.c | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/ext/mythtv/gstmythtvsrc.c b/ext/mythtv/gstmythtvsrc.c index c3121669c..5ef5b00e1 100644 --- a/ext/mythtv/gstmythtvsrc.c +++ b/ext/mythtv/gstmythtvsrc.c @@ -431,8 +431,8 @@ gst_mythtv_src_create (GstPushSrc * psrc, GstBuffer ** outbuf) return ret; read_error: - GST_ELEMENT_ERROR (src, RESOURCE, READ, - (NULL), ("Could not read any bytes (%i, %s)", read, src->uri_name)); + GST_ELEMENT_ERROR (src, RESOURCE, READ, (NULL), + ("Could not read any bytes (%d, %s)", result, src->uri_name)); return GST_FLOW_ERROR; } @@ -453,7 +453,7 @@ gst_mythtv_src_get_position (GstMythtvSrc * src) src->content_size = size_tmp; else if (size_tmp > 0 && --max_tries > 0) goto get_file_pos; - GST_LOG_OBJECT (src, "GET_POSITION: file_position = %lld", size_tmp); + GST_LOG_OBJECT (src, "file_position = %" G_GINT64_FORMAT, size_tmp); /* * sets the last content size amount before it can be updated */ @@ -476,9 +476,8 @@ gst_mythtv_src_do_seek (GstBaseSrc * base, GstSegment * segment) ret = FALSE; goto done; } - GST_LOG_OBJECT (src, - "Trying to seek at the value (actual_seek = %lld, read_offset = %lld)", - actual_seek, src->read_offset); + GST_LOG_OBJECT (src, "actual_seek = %" G_GINT64_FORMAT ", read_offset = " + "%" G_GINT64_FORMAT, actual_seek, src->read_offset); /* * verify if it needs to seek */ @@ -617,9 +616,9 @@ gst_mythtv_src_start (GstBaseSrc * bsrc) goto begin_req_failed; } - GST_INFO_OBJECT (src, - "MythTV FileTransfer filesize = %lld, content_size = %lld!", - gmyth_file_get_filesize (src->file), src->content_size); + GST_INFO_OBJECT (src, "MythTV FileTransfer filesize = %" G_GINT64_FORMAT ", " + "content_size = %" G_GINT64_FORMAT, gmyth_file_get_filesize (src->file), + src->content_size); src->content_size = gmyth_file_get_filesize (src->file); @@ -715,7 +714,7 @@ gst_mythtv_src_get_size (GstBaseSrc * bsrc, guint64 * size) } *size = src->content_size; - GST_LOG_OBJECT (src, "Content size = %lld", src->content_size); + GST_LOG_OBJECT (src, "Content size = %" G_GINT64_FORMAT, src->content_size); return ret; } |