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;
}
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
*/
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
*/
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);
}
*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;
}